|
-
March 18th, 2004, 05:42 AM
#1
Dialog controls
Hi all,
This is more of a design question.
I need to put a variable number of Edit boxes in a Dialog, since the number of input variables is determined at runtime.
In such a case do you advise me to use a Grid control instead? If yes which grid control is easy to use and has less bugs?
If not a Grid then do you suggest dynamic creation and positioning of the controls? Or is there an easier way (for VB I heard there is smthng like a repeater control?)?
I would be interested in knowing how would you handle such a situation,
Thanx
Panayotis
Extreme situations require extreme measures
-
March 18th, 2004, 05:49 AM
#2
does the user has any interaction at all(can change the content) with the editboxes or you just display something in them? do you take this info and process it further?
-
March 18th, 2004, 06:00 AM
#3
Once i had a chance to look into an application that had a grid control in it, it appeared a spin control in its grids whenever a mouseclick was posted at that particular row coloumn, the user would either write in the edit box or use the up down controls and move to the next location in the grid..
There was only one spin control which was moving here and there whenever a click was made, with the exception that only one selection had to be made at a time, the values were taken from the spin into variables and the spin would go to the next position where it was needed, a sort of pizza guy spin control.
this approach also uses less overheads because the spin control was created only once and was displaying at differrnt locations.
if ur pizza business is good try hiring two or whatever number of pizza guys you need.
-
March 18th, 2004, 06:40 AM
#4
I had used windows ListView with grid lines marked accross (LVS_GRIDLINES or something).
It had fitted quite well for my purpose, and u can also get the edit box out of the listview itself when u wanna edit something in the grid. (like the rename edit box appears in windows explorer)
__________________________________
Software is more an Art than Science
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|