John Baird
Coatesville, Pennsylvanie, États-Unis
AFAIK, you can't do that with the property sheet. You will need to intialze the value in code, probably in the Init() of the control.
HTH
>I have a method that I'm adding to my base classes to check security levels.
>
>I have an include file that defines:
>
>#DEFINE CMD_ADD 1
>#DEFINE CMD_EDIT 2
>
>Now I drop an instance of the commandbutton on a form and set the property nRights TO CMD_ADD. the property gets passed as a string value to the class "CMD_ADD" instead of 1.
>
>Is there a way to do this?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement