Achieving one code base with forms and windows
In line with the thread I am trying to put window code into an object for the first time in my work, and I’m surprised at how it’s not seeming to work
Consider this line of code which is in the object which is instantiated in the window as an instance variable with subtype of actual object
iwr=ref to the window
If len(iwr.iLineItemsList.line_prod_num)
iwr is a ref to the window, and iLineItemsList is an instance variable in the window and is a list, and line_prod_num is a field (column) in the list
Isn’t it correct to code as I have above ? The chain of command is complete. I tried putting in $ivars and that didn’t help
The window is live, I have entered something into that field in that list, it has Length
It evaluates this as unTrue whereas it is True in fact
Am I not doing it right?
When I tab from the field it goes to the object method I specify for it and encounters the above line of code in the instantiated object (through subtype)
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com