Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You're welcome. Cool
Diu King,Tiong
Diu King,Tiong
StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)
Group: Forum Members
Posts: 43, Visits: 264
Hi Ivan,

Thanks again for your help. I use add a class instead of add a component and that's why cannot work.
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Tiong. Try this:
  • add a Component to your project
  • edit the YourComponent.Designer.vb
  • Change the Inherits from System.ComponentModel.Component to MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker
  • Save it all
  • Open YourComponent.vb into its designer and change its properties
  • Rebuild your solution
  • Add your component into your form

Diu King,Tiong
Diu King,Tiong
StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)
Group: Forum Members
Posts: 43, Visits: 264
Hi all,

I have create a new class and  Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker. I change some of my property of datetimepicker like below,

        Me.CustomFormat = "dd/MM/yyyy"
        Me.Format = System.Windows.Forms.DateTimePickerFormat.Custom
        Me.Size = New System.Drawing.Size(100, 20)
        Me.ResumeLayout(False)


when i build my project and use my custom datetimepicker class, Property still back to default.


Please advice
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search