Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optiongroup
Message
De
26/01/2005 06:00:05
 
 
À
25/01/2005 15:08:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00980420
Message ID:
00980656
Vues:
20
>>Hi
>>
>>I'm using VFP7
>>
>>I've got on optiongroup in a container with a buttoncount of 1 .
>>
>>I add the container to my page no problem in the page init.
>>
>>If I then change the buttoncount the first button remains 3d but the new button is 2d. Iv'e tried setting specialEffect for the new button but that doesn't seem to work.
>
>Create a subclass of the radiobutton which looks the way you want it. Then when adding more buttons, don't set the button count; do .newobject("nextbuttonname","yourradiobuttonclass", "classlib"). When you increase .buttoncount, the new buttons added are just plain old base-class radiobuttons, they inherit nothing from the existing buttons.

Thanks Dragan but

Still doesn't give me the correct look.

Also if I drop a standard optiongroup on the page then change the fontsize to 11 the button reverts to 2d and only changes back when I revert the fontsize to 9.

Nick Mason

I think I'll go another way with this as its taking too much time.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform