More about tables and window structure (OpenInsight 32-Bit)
At 23 MAY 2002 05:13:29PM David Kafka wrote:
In OIWin_Comm_Init, JoinMap@ is the name of the Window's primary table. KeyMap@ contains info regarding the key control.
I haven't experimented yet, but I think JoinMap@ might have info about which control should trigger a read (just a guess right now–if anyone knows, please say).
If you change JoinMap@ in a Create event, the form will read from the new table. But, if you do table=Get_Property(@WINDOW:.'controlname',"TABLE") it still returns the old table name. That means that each control is still associated with the original table. I don't know if this is bad or not, but it can't be good. I can't figure out for the life of me where the table information for each control is buried. Any ideas anyone?
Thanks,
David
At 23 MAY 2002 07:23PM Bob Carten wrote:
David
Spezzatura sell a whitepaper that documents window structures very well.
At 23 MAY 2002 07:45PM David Kafka wrote:
Bob,
I expect Andrew or Aaron to give me the information, because I'm a nice guy and it reminds everyone how much they know.
David
At 24 MAY 2002 03:20AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
or Carl or Steve or Clint….
At 24 MAY 2002 11:27AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
David,
I don't know if this is bad or not, but it can't be good. I can't figure out for the life of me where the table information for each control is buried. Any ideas anyone?
IIRC it should be in ControlSemantics@. Take at look at the OIWIN_EQUATES record and you'll see lots of useful stuff regarding window structures in there.
World leaders in all things RevSoft
At 29 MAY 2002 04:22PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Or lions and tigers and bears…
And we have one hell of confusing football game, don't we Howard?
Is this related to wanting to just change the table? It sounds like all you want is an OI version of the ARev WINDOW MYWIN DATAFILE=SOMEFILE DICT=SOMEOTHERDICTFILE command.
At 29 MAY 2002 04:40PM Don Miller - C3 Inc. wrote:
Now wouldn't THAT be grand!!!
Don
At 30 MAY 2002 01:02PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
If the code ends up being small, look for it in the next SENL then.