archive-com.com » COM » E » EFG2.COM

Total: 878

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

  • GMT Message ID References Organization Another Netscape Collabra Server User Newsgroups borland public delphi graphics Hi Igor You may use DrawIcon Image1 Canvas handle 0 0 LoadCursor 0 IDC ARROW If you wanna get your cursor from a file use

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0318b.txt (2016-02-14)
    Open archived version from archive



  • net X Trace rvUKl7oJLsxIVV7Ep 9CrclaAw m4NQy676Um2i5B0fiYIumYb4B 7MQvUR8RRRnY3supXEjOgY La pTajjWAyUmXpiHxEbzFxZ6HhWbwV155tVAoZ7YqgchlLwDAOz ztbZA Organization GTE Internet Solutions MIME Version 1 0 NNTP Posting Date Mon 28 Jun 1999 17 47 11 GMT Reply To koterski NOSPAMgte net Newsgroups comp lang pascal delphi databases On Sun 27 Jun 1999 15 38 52 GMT ammar aganovic my deja com wrote The subject should say it It is a web based DB so it is filled with gifs jpgs but TDBImage reads bmps by default Is there a way to tell the TDBImage how to handle other formats Do I have to stream The TDBImage component is predicated on graphics formats native to Windows like bitmap GIF and JPEG are not native to the Windows environment For JPEG data use a TJPEGImage component For GIF images though you would need a third party component As TJPEGImage is not data aware you would need to copy the data from BLOB column to component each time the dataset component s record pointer moves This is signified by the AfterScroll event For example procedure TForm1 Table1AfterScroll DataSet TDataSet var MS TMemoryStream J1 TJPEGImage begin J1 TJPEGImage Create MS TMemoryStream Create try TBlobField DataSet Fields 1 SaveToStream MS MS Seek

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0628b.txt (2016-02-14)
    Open archived version from archive


  • Hi You do not have to draw the text yourself TEdit control supports right justification just overridde createparams method and add this procedure TRightEditSample CreateParams var Params TCreateParams begin inherited CreateParams Params Params ExStyle Params ExStyle or WS EX RIGHT end Hope that helps Eugene van Heerden wrote in message How do I right justify a number in a TEdit control I see no such property that can be set

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0309a.txt (2016-02-14)
    Open archived version from archive


  • do this var lf TLogFont begin GetObject Canvas Font Handle SizeOf TLogFont lf lf lfQuality ANTIALIASED QUALITY Canvas Font Handle CreateFontIndirect lf Canvas TextOut 0 0 Hello end Not all Win32 platforms support antialiased fonts Win95 requires the Plus pack for antialiased fonts To determine if the Plus pack is installed call the Win32 API call SystemParamatersInfo with the SPI GETWINDOWSEXTENSION flag but only on Win95 NT 4 0 supports antialiased fonts in the box I believe Win98 supports them verify this for yourself I m not sure since I haven t worked with Win98 The ANTIALIASED QUALITY and NONANTIALIASED QUALITY flags are provided to override the user s control panel choice to use font smoothing That is a font smoothing capable system either uses antialiased or nonantialiased TrueType fonts by default without any special code at the user s request To determine if the system you are running on has font smoothing enabled use the SystemParametersInfo Win32 API call with the SPI GETFONTSMOOTHING flag Note that on Win95 you should first check for SPI GETWINDOWSEXTENSION but on NT you should not So if you are on a system that supports TrueType font smoothing the code snippet above should do

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0406c.txt (2016-02-14)
    Open archived version from archive


  • 00 00 GMT Message ID Content Transfer Encoding 7bit References Organization TeamB Content Type text plain charset us ascii Mime Version 1 0 Newsgroups borland public delphi graphics On Wed 19 May 1999 11 28 44 0400 Steve Bliss wrote Does anyone know how to turn this on SystemParametersInfo with the SPI SETFONTSMOOTHING parameter can be used to set this option Yorai Aminov TeamB http ourworld compuserve com homepages yaminov

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0521c.txt (2016-02-14)
    Open archived version from archive


  • On form scaling and the large fonts small fonts issue This is usually a problem of large fonts 120 dpi vs small fonts 96 dpi settings The user can change these settings as part of the display options in control panel You can check the settings at run time by looking at Screen PixelsPerInch Different ways have been suggested to create forms that will work well on both settings The most important one is to use TrueType fonts like Arial only in your forms Ms SansSerif the default is TT on NT but not on Win9x Option 1 Design on small fonts leave the forms Scaled propery set to true set forms AutoScroll to false leave a little extra space between controls so they can grow a bit under large fonts without colliding with each other This is said to be the method Borland uses for the Delphi IDE itself When you test on large fonts never save the project there If you save such a form under large fonts it will become distorted under small fonts Option 2 Design on large fonts and set Scaled to false This is my favourite since large fonts is my default setting i am myopic Again take care never to save the project under small fonts or the forms will become distorted A final issue you may need to take care of is the users screen size in pixels If you design your forms to run well on 800 600 the user will have a problem if he is running 640 480 So your forms should check the screen size Screen Width Screen Height in their OnCreate handler If the screen is too small for the form the form shoulds resize itself to the screen size or better the workarea size see SystemParametersInfo

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/2001/0126.txt (2016-02-14)
    Open archived version from archive


  • Type text plain charset iso 8859 1 Lines 21 Content Transfer Encoding quoted printable Message ID References NNTP Posting Host stealth mipps net X Newsreader Microsoft Outlook Express 4 72 2106 4 X MimeOLE Produced By Microsoft MimeOLE V5 50 4133 2400 Hi Jerry Yao wrote in message How to adjust form components buttons fonts size to fit different fonts setting environment My idea is to let all users can

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1998/1210.txt (2016-02-14)
    Open archived version from archive


  • text plain charset iso 8859 1 Content Transfer Encoding quoted printable Message ID References NNTP Posting Host park12 ncl ac uk X Newsreader Microsoft Outlook Express 4 72 3110 5 X MimeOLE Produced By Microsoft MimeOLE V5 50 4133 2400 Xref wn7 borland public delphi graphics 10117 borland public delphi winapi 46393 That was the easy way I and anyone serious about portability would spend hours making sure that everything will resize automatically and so is independant of font size etc Microsoft went to all that trouble to allow users to set up their system with the sizes and colours they want so the least we can do is respect that I usually design my main form at 640x480 or 800x600 if it is a high end app Anywhere when something won t resize allow enough space for the text on that item at the maximum size it can reasonably be We may have to make allowances for users but if a user sets up their computer with stupid settings they should expect not to be able to read anything There is no excuse for buttons getting lost off the edge of the form if you have D4 just set

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1998/1205.txt (2016-02-14)
    Open archived version from archive



  •