Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralEvents and Model Logic Pin
Leslie Sanford21-Jul-04 16:44
Leslie Sanford21-Jul-04 16:44 
GeneralRe: Events and Model Logic Pin
Heath Stewart22-Jul-04 3:43
protectorHeath Stewart22-Jul-04 3:43 
Generalpassing a form control to a class Pin
budha_man_9921-Jul-04 11:51
budha_man_9921-Jul-04 11:51 
GeneralRe: passing a form control to a class Pin
Colin Angus Mackay21-Jul-04 14:06
Colin Angus Mackay21-Jul-04 14:06 
GeneralRe: passing a form control to a class Pin
budha_man_9922-Jul-04 4:50
budha_man_9922-Jul-04 4:50 
GeneralRe: passing a form control to a class Pin
Colin Angus Mackay22-Jul-04 5:21
Colin Angus Mackay22-Jul-04 5:21 
GeneralRe: passing a form control to a class Pin
budha_man_9922-Jul-04 5:28
budha_man_9922-Jul-04 5:28 
Generalresize tabPages problem Pin
Andy H21-Jul-04 11:32
Andy H21-Jul-04 11:32 
I have a tab control on my form which can resize. The tab control itself is ancored and resizes ok. Each tabPage has a few buttons whcih get resized ok to a point. The active tabPage control's buttons reisze ok, but then switching to another tabPage I find that the buttons raen't in the correct horizontal positions. If I resize the form again the 2nd tabPage which had the buttons repositioned incorrectly will position the buttons ok, but switch back to the 1st tabPage and it's buttons are now in the wrong place!!!

I have tried embedding each button in its own panel control and ancoring the button left & right to its parent panel and the panel itself being anchored bottom & left and the other panel with embedded button bottom & right. This doesn't work either and it seems that the anchoring only works for the active tabPage.

I have also tried postioning the buttons in the resize event which only works fine for the active tabPage.

Has anyone else come accross the problem of correctly resizing buttons which need to grow their width property in proportion to the tabPage width? I am leaving the height unchanged. Anyone know of a way to correctly adjust the width and left properties correctly for non active tabPage's?

For the record I have about 6 tabPages, some have only two buttons adjacent to one another, other tabPages have five buttons adjacent to each other. In each tabPage the buttons need to increase/decrease their width property and adjust their left property also.

I have run out of ideas. And no I can't leave the width properties as static.
Generalcolor button example Pin
ddelapasse21-Jul-04 9:20
ddelapasse21-Jul-04 9:20 
GeneralRe: color button example Pin
Gary Thom21-Jul-04 9:58
Gary Thom21-Jul-04 9:58 
GeneralRe: color button example Pin
Anonymous21-Jul-04 10:29
Anonymous21-Jul-04 10:29 
GeneralRe: color button example Pin
Gary Thom22-Jul-04 9:41
Gary Thom22-Jul-04 9:41 
Generalcut/copy/paste/undo Pin
HappyPaws21-Jul-04 8:36
HappyPaws21-Jul-04 8:36 
GeneralRe: cut/copy/paste/undo Pin
Heath Stewart21-Jul-04 9:18
protectorHeath Stewart21-Jul-04 9:18 
GeneralRe: cut/copy/paste/undo Pin
Gary Thom21-Jul-04 10:04
Gary Thom21-Jul-04 10:04 
GeneralRe: cut/copy/paste/undo Pin
Jay Shankar21-Jul-04 22:36
Jay Shankar21-Jul-04 22:36 
QuestionCan you pass parameters to properties? Pin
inyoursadachine21-Jul-04 7:11
inyoursadachine21-Jul-04 7:11 
AnswerRe: Can you pass parameters to properties? Pin
Gary Thom21-Jul-04 8:27
Gary Thom21-Jul-04 8:27 
Generalweb services quest Pin
pelos21-Jul-04 6:42
pelos21-Jul-04 6:42 
GeneralRe: web services quest Pin
VenkatFor.NET21-Jul-04 7:08
VenkatFor.NET21-Jul-04 7:08 
GeneralRe: web services quest Pin
pelos21-Jul-04 12:49
pelos21-Jul-04 12:49 
GeneralReportingServicesWebServer Problem Pin
clydeJones21-Jul-04 6:26
clydeJones21-Jul-04 6:26 
GeneralC# equivalent for charCodeAt Pin
Mark Peters 2157521-Jul-04 4:56
Mark Peters 2157521-Jul-04 4:56 
GeneralRe: C# equivalent for charCodeAt Pin
Nick Parker21-Jul-04 5:49
protectorNick Parker21-Jul-04 5:49 
GeneralcharCodeAt equivalent in C# Pin
Mark Peters 2157521-Jul-04 4:46
Mark Peters 2157521-Jul-04 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.