Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox Size
Message
 
À
07/04/1999 18:05:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00206118
Message ID:
00206551
Vues:
15
Before you discard Ed's Style=1 suggestion, also take a look at the Picture and DownPicture properties. I think you should try these out; with the right pictures, it might just be what you are looking for.

Joe

>I tried that Style=1 for the check box, and I didn't like it all that much, so I won't even be offering it to the user. I'll go with building a custom class if I have to (if he doesn't like clicking on the caption, which I don't see why he should care one way or the other, but you never know!)
>
>Thanks for your reply,
> Bonnie
>
>
>>>Hi all ... quick question about how to alter the actual box size of a checkbox. If I simply change the font size, it only affects the caption's size, but the box to be checked remains the same size. My user has requested a larger box because he has trouble clicking at higher resolutions because he says the box it too tiny.
>>>
>>>Any suggestions?
>>>
>>>TIA,
>>> Bonnie
>>
>>Firstly, offer your client to use checkbox with Style=1.
>>If it's not accepted, you may build your own 'checkbox'- actually, textbox with appropriate FontName/Size and Widht/Height. Its Click event will have:
>>
>>if empty(this.value)
>> this.value="X"
>>else
>> this.value=""
>>endif
>>
>>For better outlook, you may overlap this textbox with transparent Shape and move code to Shape.click event
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform