--------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00019 Date: 05/14/96 From: DEREK BENNER Time: 05:05pm \/To: DAN UGRIN (Read 5 times) Subj: Just asking... DU> Yes, he can, but It's been my experience that the w8loss utility will DU> make the exe file even smaller. I've heard talk HERE that the DU> optimizefor size option in Delphi proper wasn't complete, which is DU> the reasonthis utility was included. DU> Dan Gotcha! That makes a fair amount of sense. Since I tend to be a belt-and-suspenders kind of programmer, I'd do both. Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00020 Date: 05/14/96 From: DEREK BENNER Time: 05:12pm \/To: JUSTIN MARQUEZ (Read 5 times) Subj: DLL speed JM> If only DELPHI had a built-in operator which did what FORTRAN's JM> "**" operator does! It would make engineering and scientific DELPHI JM> programming easier and faster! JM> (pssst! Anyone listening at Borland?) JM> Justin Marquez Justin, If I remember correctly the '**' operator raises the number to the power of the second number, 2 to the 3rd power = '2**3' and 10 to the 5th power equals '10**5', am I right? If so, just write a procedure using ln and exp to do such an algorithm. If you're using FORTRAN, you probably better understand what that algorithm should look like than I would. Just remember to write it so that it will support various data types. Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00021 Date: 05/08/96 From: DEREK BENNER Time: 09:20pm \/To: STEVE BATSON (Read 5 times) Subj: Pascal Books SB> Derek, thanks for the reply. I am more interested in a 3rd party SB> reference. The Borland stuff is ok, but sometimes just doesnt have SB> enough meat...One thing I liked about Borlands older products was the SB> online help with concise working examples. I just don't see that in SB> the borland docs which means you often have to trace through a few SB> other things to understand what is going on. A good clear example SB> often clues you in as you see the operation used in context. Maybe I SB> am going blind, I'll have to go back and look at the language guide SB> again. SB> Steve Yeah, I can agree with that! I've notice a definite trend AWAY for (from) concrete examples these days. --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00022 Date: 05/08/96 From: DEREK BENNER Time: 09:28pm \/To: TOMMY USHER (Read 5 times) Subj: Pascal Books TU> Well, it is included with Delphi, period. In fact, it was even TU> included with the older version, but I think it was on the CD. You TU> could purchase a hard copy version. Yes, it was included on the CD_ROM for D1... But, let's face facts here, it's not the same as having the printed manual in your hands?!?! Also, I was responding, NOT asking. And, in case NO ONE has pointed this out yet, Steve Batson's name bears a curious resemblance to the name of one of the authors of "Teach Yourself Delphi 2 in 21 Days" because he is one of the authors. While I am sure he enjoys your recommendation, I'd be willing to bet $5 US that he ALREADY has a copy on his bookshelf. --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00023 Date: 05/08/96 From: DEREK BENNER Time: 09:31pm \/To: ERIC SCHREIBER (Read 5 times) Subj: Delphi 2.0 'flaws' ES> Cannot set bevel size - if I've got multiple panels in a statusbar ES> component, I can't control the size of the divider between them. ES> While you can set font size, face, etc, the font color setting the ES> author chooses using the object inspector is ignored. Ideally, this ES> is something that should be selectable on a per-panel basis. Flaws, but not that major. ES> User Guide, page 319, makes reference to "Caption" property. The ES> actual property name is "Text". Does no one proof read anymore? I noticed it too, but I figured it out, as, I think most will... However, you do have a point about proofreading. --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00024 Date: 05/08/96 From: DEREK BENNER Time: 09:34pm \/To: GERARD GERRITSEN (Read 5 times) Subj: Pascal Books GG> I'm using Virtual Pascal for OS/2, it also support the delphi GG> language extensions. Although the manual gives a definition of the GG> language I would like more information. So is there a way I can GG> get/buy that book ? ==> Gerard/2 - member of team os/2 - 1000521@ibk.fnt.hvu.nl Gerard, I don't know, but I DO remember that the Object Pascal Language Guide and the VCL Reference went for about $30-40 US to registered D1 owners. You might try calling Borland's Customer Service or Sales department. Question: WHY OS/2??!??!?? Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00025 Date: 05/07/96 From: FRANK MALCOLM Time: 11:43am \/To: KEITH RICHARDSON (Read 5 times) Subj: Highlighting text in a li Hi, Keith. KR> Does anybody have a simple method of changing the text colour of a KR> single string, or part of a string, in a listbox? I do something like this. Make it an OwnerDraw control (the Style property), then in the ListBox1.DrawItem method put with TListBox (Control), Canvas, Font do begin if {whatever condition} then Color := clRed else Color := clBlue; TextOut (Rect.Top, Rect.Left, Items [Index]); end; Or if you want a different background, use Brush.Color := whatever. If you want the selected string to be a different colour, use if odSelected in State then ... else ... Control, Index, Rect and State are all passed to the DrawItem method. Regards, fIM. * * Poker Face: The face that launched a thousand chips. --- * Origin: Pedants Inc. (3:711/934.24) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00026 Date: 05/08/96 From: FRANK MALCOLM Time: 06:59am \/To: ALL (Read 5 times) Subj: Program manager Hi, all. Does anyone have the full specs of the Program Manager DDE interface? By trial and error I've figured out the parameters for... Command line Description Icon file Icon Working directory Shortcut key** Run Minimized ** I haven't figured out how to specify the Ctrl/Alt/Shift combination - just the base key. I've also figured out that there are 3 other parameters to that macro, but I'm damned if I can figure out what they are since the above seems to cover everything in the ProgMan dialog box where you do this manually. Any info would be appreciated thanks. Oh, and how do I know that the shell is ProgMan? That's probably a simple API call, but I only just thought of that. Regards, fIM. * * Cthulhu in '96: why settle for the LESSER evil? --- * Origin: Pedants Inc. (3:711/934.24) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00027 Date: 05/08/96 From: FRANK MALCOLM Time: 07:26pm \/To: ALL (Read 5 times) Subj: Program manager Hi, all. Aha! Further to my message yesterday I've now figured out how to add Ctrl, Alt and/or Shift to the shortcut key but there are still 2 parameters to the Program Manager 'AddItem' macro that I haven't been able to guess, if anyone's got the specs to this. BTW, doesn't Delphi make it just so easy to do this, with the TDDEClientConv component! Later... Thanks everyone, but I've found the answer. There's a topic in the API section of the Delphi help system called "Shell Dynamic-Data Exchange Interface Overview" which explains it all. But I still don't know how to find out what the shell is. The only thing I can think of is to do a GetProfileString for the SHELL entry in SYSTEM.INI, defaulting to ProgMan.EXE if it's not there. An anyway, what do I do if it's not ProgMan? Presumably popular alternatives (NDW? The other one I've seen on a client's Compaq?) support the same functions to add groups & items? Regards, fIM. * * Cthulhu in '96: why settle for the LESSER evil? --- * Origin: Pedants Inc. (3:711/934.24) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00028 Date: 05/08/96 From: FRANK MALCOLM Time: 07:29pm \/To: ALL (Read 5 times) Subj: Run-time errors Hi, All. Maybe I'm thick, but I'm damned if I can find *anywhere* the description of the run time errors. Tonight I got an I/O Error 105 so I went searching through the help - even did a text search on the DELPHI.HLP file - nothing! Where the f... is this info? (Oh, it turned out that the 105 was because I did a WriteLn of some debugging info and hadn't included "uses WinCrt".) Regards, fIM. * * All true wisdom is found in taglines --- * Origin: Pedants Inc. (3:711/934.24)