View previous topic :: View next topic |
Author |
Message |
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Tue Dec 07, 2010 7:08 pm Post subject: GRID element of VDSOBJ |
|
|
Hi guys
Does anybody know how I can change style cell in a GRID control of VdsObj.dll, like as background color, style font, etc. in runtime (If it's possible)?
Thank in advance
____________
uVeDeSe
____________ |
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Thu Dec 09, 2010 4:13 pm Post subject: |
|
|
Hi again.
Is there somebody here?
I supose: there isn't anybody here or anybody know how do it...
Perhaps Tommy can help me. He contributed to the development of this wonderful extension.
Any Idea?
Thanks a lot |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Dec 09, 2010 6:15 pm Post subject: |
|
|
I imagine it will have to be done via API, but I do not have any clue how. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1563
|
Posted: Fri Dec 10, 2010 7:57 am Post subject: |
|
|
Its not possible to do it in realtime without doing a OBJECT REMOVE and OBJECT ADD to change the style. You can save all data then remove and re-create the object with the new style you want; then load the data back into the control.
The control is a TStringGrid in delphi, it isnt a standard Windows control so Windows api is unlikely to have any effect on it. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Dec 10, 2010 5:27 pm Post subject: |
|
|
PGWARE wrote: | The control is a TStringGrid in delphi, it isnt a standard Windows control so Windows api is unlikely to have any effect on it. |
Ah, my bad. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sun Dec 12, 2010 5:49 pm Post subject: |
|
|
Hi Garret:
Thank you for clarifying that point. Then, is there no other possibility to create a grid in VDS with these properties? Is there no other DLL?
It's a shame. VDS increased with version 6. VdsObject extensions as were the perfect complement to VDS but is necessary to extend the possibilities if we want that Visual DialogScript is a competitive language and non-minority.
I really like VDS, but it falls short in other languages
____________
uVeDeSe
____________ |
|
Back to top |
|
|
|