Re: help
- Posted by Tommy Carlier <tommy.carlier at pandora.be> Mar 23, 2004
- 495 views
> I have a panel with 3 editText fields to collect parameters to run the > program. The're in a window that is then closed and the main window > opens, uses the parameters to run and display stuff. > > Problem: getText(id) for all of the id's on the panel do not return the > data in the field. They all return {}. I've checked the id's and they're > all valid numbers, so I'm lost. I've used this in other programs with no > problem. This one has me stumped. > > Here's the id > > -- Range Selection of filter > reportRange = create(Group,"Vendor > Selection",parmWindow,40,cy*10-25,320,65,0) > setFont(reportRange, "Courier New", fs, Bold) > > id = create (LText,"Vendor Nbr",reportRange,5,cy*1+10,cx*12,25,0) > idVendor = > create(EditText,"ALL",reportRange,cx*7,cy*1+5,cx*8,cy+4,ES_UPPERCASE) > > Here's the getText > > -- Report Customer range selection > reportFrom =getText(idVendor) > > Hope you see something wrong. > > george George, where and when are you calling getText? If you call it after the window is already closed, maybe the textboxes are already destroyed or reset, and don't have a value anymore. -- Tommy Carlier tommy online: http://users.pandora.be/tommycarlier