- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
6 Posted Topics
Hi All, I'm using a TStringGrid (has to be Delphi 7, and no 3rd party components) I've customised it to allow per-cell colouring/fonts/borders/validation etc, by using a custom onDrawCell method. I really would like to add per-cell tooltips too, but I've been unsuccessful so far. I've modified something I found: … | |
Hi all, I don't use Delphi often so this is probably a stupid question again, but why does Delphi (7) re-index arrays when they're passed to a function, as a simplified example... [CODE]program example; {$APPTYPE CONSOLE} uses SysUtils; var numbers: array[1..5] of Integer = (10, 20, 30, 40, 50); procedure … | |
Hi All, This is probably a stupid question, and I could have easily written a small function that loops over the values and selects the first match... but I'd prefer to use the built in way - if there is one. Is there a built in function to select a … | |
Hi, Is there an easy way to loop through an array of controls (user specified, not every control on the form) and disable them? At the moment I'm just disable/enabling them one by one e.g. ctrl1.enabled := false; ctrl2.enabled := false; .... ctrl22.enabled := false; etc. Is there a way … | |
Hi All, I'm very new to Delphi and I'm stuck with this (hopefully very basic) question. How do you reset a form when it's closed? I have 2 forms, say "form1" and "form2", when you click a button on form1 it opens form2 via form2.ShowModal; on form2 you input data, … | |
Hi, I'm using a form with a StringGrid and a few buttons, by default the buttons are disabled and I'm wanting them to enable when certain entries are selected in the StringGrid. I've got the code to enable/disable the buttons depending on what StringGrid row is selected on the "OnSelectCell" … |
The End.