May 19, 2024, 02:41:09 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Static Control IDs

Started by Bruce Peaslee, February 06, 2006, 04:58:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

I once used a language that allowed you to assign a control ID of -1 to static controls you did not intend to reference further. Is this possible? It would help a little with my obsession with naming things.ÂÃ,  ÂÃ, ::)
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Ionic Wind Support Team

February 06, 2006, 06:15:10 PM #1 Last Edit: February 06, 2006, 07:08:38 PM by Ionic Wizard
Not possible in Windows as far as I know.  All controls must have a unique ID or the dialog will fail to open.  Might be possible in a window though, of course static controls in a window are pretty useless.



Ionic Wind Support Team

Parker

The language probably kept a count on its own starting with some really high number like 999999 or something, then keeps adding to it when you pass -1.