#171243 - 2006-12-08 06:13 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Gargoyle]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
When it comes to the '.Dock' property, the sequence that the controls are created in decides the position of the controls on the form.
To understand what I am trying to say, using KFD.Net create two Panels on a blank form, then create a splitter on the form. Set the splitter.dock = bottom, set one panel.dock = bottom, and the other panel.dock = fill. In the object treeview (top right corner of KFD) select one of the controls (left click on the name of the control in the object treeview) then click the up or down arrow button (to the left of the object treeview). As you rearrange the control sequence in the object treeview the controls on the form will rearrange as well as the sequence that the controls are created on the code page (use the code/form button {top left corner of KFD} to switch from the form to the code and back).
|
Top
|
|
|
|
#171246 - 2006-12-08 06:26 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Arend_]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
not a problem apronk, i think we all understand how work work is and hope to see your code next week.
|
Top
|
|
|
|
#171275 - 2006-12-09 02:19 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Witto]
|
Witto
MM club member
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
- How do I know the size of the form after the size changed? - Can I add an icon in the menu (for Exit)?
Attachments
Description:
|
Top
|
|
|
|
#171276 - 2006-12-09 02:40 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Witto]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
How do I know the size of the form after the size changed?
Look into the '.SizeChanged' event for the form. In the function that you define for this event, look into the '.Width' and '.Height' property for the form.
Can I add an icon in the menu (for Exit)?
I have not done that myself and I don't think Shawn has built that in as of yet. If you can figure out how that would be great and others can learn from your example.
|
Top
|
|
|
|
#171329 - 2006-12-11 09:24 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Gargoyle]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
SizeChanged event, yes or i supose you could use a timer.
|
Top
|
|
|
|
#171340 - 2006-12-12 02:04 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Gargoyle]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
The next lesson sould be a little harder, but I don't think it will be anything that everyone can't handle. I do think there will be some questions though, and that's ok.
|
Top
|
|
|
|
#171402 - 2006-12-13 12:13 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Lonkero]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jooel, I know you can come up with a better way than I have. I know you hate dealing with the GUI but heck KFD does the hard part for you. I will be disapointed if you don't post your own code
|
Top
|
|
|
|
Moderator: NTDOC, ShaneEP, Mart, Radimus, Glenn Barnas, Jochen, Allen
|
1 registered
(Allen)
and 457 anonymous users online.
|
|
|