MS Virtual FoxPro V7.2, SP-2, Running on MS-XP Pro. SP-3 4 Dec 2k8
COMBO Box
Hi there, I am having a bit of trouble w/ the Base Class _Combo Box.
Overall situation:
I have a cluster of controls, Label Box, Text Box & Combo Box plus various Lines. These clusters are installed in a Container and SAVE AS Class and stored in a Class Library. These Containers are extracted and placed into a FORM (container). Think of a Doctor's office FORM for ordering tests, labs etc. Question/Answer style. Each Container w/ clustered Controls is selected according to the Section & Question requirements. Procedure used is the NEWOBJECT Function & WITH..ENDWITH Command. Must be 200 or so of the clusters on each page and 100 or so different configurations. Sort of like playing w/ Tinker Toys or Lincoln Logs. Got this far - appears to work great!
Now we must make entries for each answer (Combo) Box. Quoting from the HELP FILES and Programmers Guide we must:: "Accept input that can not be predetermined". Meaning, to me, that the operator may choose from a prepared assemblage of acceptable choices, size, color, material of construction or Enter Character data words and phrases. The acceptable db choices are moved into a RowSource
= ARRAY, RowSource Type = 5, Style = 0 DropDown Combo, DisplayCount = 6, Array named & sized in AddProperty, public one Diminsion Array[48]. Other nondefault PEM's are: ColumnCount = 1, ControlSource = (public variable), DropDown Event = User Procedure to move db selections to Array, GotFocus = User Procedure to read & set up names, InteractiveChange = User Procedure to implement MS Article
140652, also LostFocus, NumberofElements = 6.
First, I will interject my thoughts a/o preferances as to how I would like this to work. Select from list or Enter character data word/phrase and move result to variable (ControlSource), NO user entries are to be placed back into db. Observations: Entry window may not be Blank & User
may enter data. Must Entry window be Blank prior to user entries? Must individual characters be accumulated by User Procedure or does Combo Box handle - i.e. one Move w/ Lost Focus or ENTER. Entries, either Selections or User entered, show up first in Text, can't figure out the
progression of data from Text to Value & finally to ControlSource. What does REFRESH do, which Property supplies (Daddy of) Data to other properties?
I really need to discern which operation is directed by which operator, Data progression from Default Text entry window to which operator/operation and finally to my ControlSource. Can I or should I try Editing of Selected list entry or Clear the selection and Enter new
data?
TexTgr
COMBO Box
Hi there, I am having a bit of trouble w/ the Base Class _Combo Box.
Overall situation:
I have a cluster of controls, Label Box, Text Box & Combo Box plus various Lines. These clusters are installed in a Container and SAVE AS Class and stored in a Class Library. These Containers are extracted and placed into a FORM (container). Think of a Doctor's office FORM for ordering tests, labs etc. Question/Answer style. Each Container w/ clustered Controls is selected according to the Section & Question requirements. Procedure used is the NEWOBJECT Function & WITH..ENDWITH Command. Must be 200 or so of the clusters on each page and 100 or so different configurations. Sort of like playing w/ Tinker Toys or Lincoln Logs. Got this far - appears to work great!
Now we must make entries for each answer (Combo) Box. Quoting from the HELP FILES and Programmers Guide we must:: "Accept input that can not be predetermined". Meaning, to me, that the operator may choose from a prepared assemblage of acceptable choices, size, color, material of construction or Enter Character data words and phrases. The acceptable db choices are moved into a RowSource
= ARRAY, RowSource Type = 5, Style = 0 DropDown Combo, DisplayCount = 6, Array named & sized in AddProperty, public one Diminsion Array[48]. Other nondefault PEM's are: ColumnCount = 1, ControlSource = (public variable), DropDown Event = User Procedure to move db selections to Array, GotFocus = User Procedure to read & set up names, InteractiveChange = User Procedure to implement MS Article
140652, also LostFocus, NumberofElements = 6.
First, I will interject my thoughts a/o preferances as to how I would like this to work. Select from list or Enter character data word/phrase and move result to variable (ControlSource), NO user entries are to be placed back into db. Observations: Entry window may not be Blank & User
may enter data. Must Entry window be Blank prior to user entries? Must individual characters be accumulated by User Procedure or does Combo Box handle - i.e. one Move w/ Lost Focus or ENTER. Entries, either Selections or User entered, show up first in Text, can't figure out the
progression of data from Text to Value & finally to ControlSource. What does REFRESH do, which Property supplies (Daddy of) Data to other properties?
I really need to discern which operation is directed by which operator, Data progression from Default Text entry window to which operator/operation and finally to my ControlSource. Can I or should I try Editing of Selected list entry or Clear the selection and Enter new
data?
TexTgr