control enumeration pop-ups at design time 
Author Message
 control enumeration pop-ups at design time

Does anyone know how to get the pop-ups at design time while writing code
that
contain the enumeration values for your control.?
Like with some controls when you use a method or property in code a pop-up
appears with
the selection of values for that method/property to choose from.
Thanks,
Paul


Sun, 13 Jan 2002 03:00:00 GMT  
 control enumeration pop-ups at design time
Hi, Paul.

You need to look into Enum's. The snippet below is an example of such.

Public Enum dlgBorderStyle
    None = 0
    FixedSingle = 1
    Sizeable = 2
    FixedDialog = 3
    FixedToolWindow = 4
    SizeableToolWindow = 5
End Enum

Public Property Get BorderStyle() As dlgBorderStyle
    BorderStyle = m_BorderStyle
End Property

Public Property Let BorderStyle(ByVal New_BorderStyle As dlgBorderStyle)
    m_BorderStyle = New_BorderStyle
    PropertyChanged "BorderStyle"
End Property

--

Regards, Paul.


www.gooch.co.uk


Quote:
> Does anyone know how to get the pop-ups at design time while writing code
> that
> contain the enumeration values for your control.?
> Like with some controls when you use a method or property in code a pop-up
> appears with
> the selection of values for that method/property to choose from.
> Thanks,
> Paul



Mon, 14 Jan 2002 03:00:00 GMT  
 control enumeration pop-ups at design time
Paul,
Thanks I will try that.

Paul


Quote:
> Hi, Paul.

> You need to look into Enum's. The snippet below is an example of such.

> Public Enum dlgBorderStyle
>     None = 0
>     FixedSingle = 1
>     Sizeable = 2
>     FixedDialog = 3
>     FixedToolWindow = 4
>     SizeableToolWindow = 5
> End Enum

> Public Property Get BorderStyle() As dlgBorderStyle
>     BorderStyle = m_BorderStyle
> End Property

> Public Property Let BorderStyle(ByVal New_BorderStyle As dlgBorderStyle)
>     m_BorderStyle = New_BorderStyle
>     PropertyChanged "BorderStyle"
> End Property

> --

> Regards, Paul.


> www.gooch.co.uk



> > Does anyone know how to get the pop-ups at design time while writing
code
> > that
> > contain the enumeration values for your control.?
> > Like with some controls when you use a method or property in code a
pop-up
> > appears with
> > the selection of values for that method/property to choose from.
> > Thanks,
> > Paul



Mon, 14 Jan 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. getting run-time behavior of a contained control in a user control at design time

2. Pop-ups in MS Office

3. pop-ups

4. Pop-ups in TreeView

5. downloading file without pop-ups

6. Pop-ups

7. Pop ups

8. Pop Ups

9. Assign a treeview at design run time to other at design time

10. Saving properties of ActiveX control from design time to run time

11. ADO Data Control - Design Time/Run Time database locations

12. Design-time properties in Run-time Controls

 

 
Powered by phpBB® Forum Software