wolfie78uk
Programmer
I am writing an application that sends data to a database front end - in the form of sending key sequences. However, I have hit upon a large snag.
Imagine a screen that facilitates the ammendment of existing records. The bottom half of the screen consits of combo boxes whilst the top half consists of something similar to a 2 column flexigrid : the first column is headed "Field" and the second column contains the data associated with that field and is headed "Data".
The problem is that the fields in the "grid" change order depending on the data contained in the record making it impossible to set a standard format in which to send the keys to the fields.
I have used Spy++ to view the window (i.e the "grid"
and it is of type "centura:ChildTable", and has 4 child windows of type "Centura:ch:Column". Why it has 4 child 'columns' I do not know because as I mentioned before there are only 2 columns. All windows are of the class "CS_GLOBALCLASS". No more details are provided - even the 'captions' are zero length strings.
What I need to be able to do is glean what order the field names are in but I don't think it can be done by using window handles, API etc.
Please help me.
Many Thanks in advance.
Imagine a screen that facilitates the ammendment of existing records. The bottom half of the screen consits of combo boxes whilst the top half consists of something similar to a 2 column flexigrid : the first column is headed "Field" and the second column contains the data associated with that field and is headed "Data".
The problem is that the fields in the "grid" change order depending on the data contained in the record making it impossible to set a standard format in which to send the keys to the fields.
I have used Spy++ to view the window (i.e the "grid"
What I need to be able to do is glean what order the field names are in but I don't think it can be done by using window handles, API etc.
Please help me.
Many Thanks in advance.