How many of the maximum control in a Dialog?

How many of the maximum control in a Dialog?

Postby dutch » Fri Jan 05, 2007 6:12 pm

Dear All,

I would like to know the limitation of the maximum controls in one dialog.

Thanks&Regards,
Dutch
Last edited by dutch on Fri Jan 05, 2007 6:28 pm, edited 2 times in total.
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby dutch » Fri Jan 05, 2007 6:26 pm

Dear All,

I've found the limitation of the controls in one dialog is 255. If I have more than 255 controls one Dialog, how do I go?

Thanks&Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby James Bott » Fri Jan 05, 2007 6:36 pm

Dutch,

>If I have more than 255 controls one Dialog, how do I go?

I suggest changing your design. 255 controls on one dialog is too complicated for most users (me too). I would break up the dialog into folders.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Fri Jan 05, 2007 11:22 pm

dutch wrote:I've found the limitation of the controls in one dialog is 255. If I have more than 255 controls one Dialog, how do I go?


That limitation is only for Win16. Go for Win32.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby dutch » Sat Jan 06, 2007 10:16 am

Dear James,

The controls are created on the fly, depend on customer data
Image

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Sat Jan 06, 2007 11:04 am

Dutch,

Windows 16 bits applications controls are limited to 255. You should port your app to 32 bits using FWH in order to use more controls.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dutch » Sat Jan 06, 2007 6:08 pm

I've got it.

Thanks for Enrico & Antonio,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby James Bott » Sat Jan 06, 2007 6:09 pm

Dutch,

Well it seems there is an exception to every rule. I have never seen a screen like yours before. I was envisioning 255 GETs, checkboxes, etc.

Congradulations on a unique idea, and I like the fact that you have used color and graphics to display lots of information on the screen at once.

I do wonder why they are not all in numeric order? Perhaps they are laid out according to the floor plan?

I'm afraid that your best solution is going to be 32bits as Enrico and Antionio already suggested. There are lots of other reasons for going to 32bits too.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby dutch » Sun Jan 07, 2007 3:23 pm

Dear James,

Thanks for your compliment. I think about it as all of your recommendation.

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Manuel Valdenebro » Sun Jan 07, 2007 7:24 pm

Dutch,

Can you contact with me by email?
Un saludo

Manuel
User avatar
Manuel Valdenebro
 
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 3 guests