Click here to Skip to main content
15,886,840 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionPrint datagridview data in pdf page Pin
kiran@p2softech22-Nov-07 18:14
kiran@p2softech22-Nov-07 18:14 
AnswerRe: Print datagridview data in pdf page Pin
Xmen Real 24-Nov-07 4:00
professional Xmen Real 24-Nov-07 4:00 
QuestionHow to resize a form? Pin
daavena22-Nov-07 9:34
daavena22-Nov-07 9:34 
AnswerRe: How to resize a form? Pin
superda23-Nov-07 0:32
superda23-Nov-07 0:32 
GeneralRe: How to resize a form? Pin
daavena23-Nov-07 5:00
daavena23-Nov-07 5:00 
GeneralRe: How to resize a form? Pin
Luc Pattyn23-Nov-07 5:39
sitebuilderLuc Pattyn23-Nov-07 5:39 
GeneralRe: How to resize a form? Pin
daavena23-Nov-07 8:44
daavena23-Nov-07 8:44 
GeneralRe: How to resize a form? Pin
Luc Pattyn23-Nov-07 9:32
sitebuilderLuc Pattyn23-Nov-07 9:32 
As I said before, there are two distinct things:
1. you CAN move and resize a form programmatically by assigning a new value to the
corresponding property (new sizes have to agree with MinimumSize and MaximumSize)
2. you probably need a way to let the interactive GUI user command these actions;
with a regular form, he can drag the title bar, or drag one of the edges.

You can have one of the sizeable border styles with a minimal border by setting a lot of
bool properties false (MinimizeBox e.a.), and assigning an empty string as title.
That way the user can still drag the border to resize.

Without any border, you should provide something else to grab and drag, or otherwise command
it, your fantasy is the only real limit, but it won't correspond to the normal
Windows behavior and the "good GUI" guidelines. So you will end up setting a new
Form.Size value somewhere in a keyboard, mouse or button handler.

Smile | :)


Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use PRE tags to preserve formatting when showing multi-line code snippets


GeneralRe: How to resize a form? Pin
daavena24-Nov-07 12:26
daavena24-Nov-07 12:26 
GeneralRe: How to resize a form? Pin
Luc Pattyn24-Nov-07 12:56
sitebuilderLuc Pattyn24-Nov-07 12:56 
Questionvisual c++ need little help with copy files Pin
rpcpyz22-Nov-07 8:59
rpcpyz22-Nov-07 8:59 
AnswerRe: visual c++ need little help with copy files Pin
Dave Kreskowiak23-Nov-07 5:43
mveDave Kreskowiak23-Nov-07 5:43 
QuestionUSB Pin
ellllllllie22-Nov-07 4:56
ellllllllie22-Nov-07 4:56 
AnswerRe: USB Pin
Luc Pattyn22-Nov-07 5:21
sitebuilderLuc Pattyn22-Nov-07 5:21 
GeneralRe: USB Pin
ellllllllie22-Nov-07 6:04
ellllllllie22-Nov-07 6:04 
GeneralRe: USB Pin
Luc Pattyn22-Nov-07 6:37
sitebuilderLuc Pattyn22-Nov-07 6:37 
Questioniam new to .net,do help Pin
arunkumarv22-Nov-07 2:10
arunkumarv22-Nov-07 2:10 
AnswerRe: iam new to .net,do help Pin
Xmen Real 24-Nov-07 4:23
professional Xmen Real 24-Nov-07 4:23 
Questioni have to capture the row values seperately in an datagridview. Pin
arunkumarv21-Nov-07 23:03
arunkumarv21-Nov-07 23:03 
Questionhow can i bind database to listbox.. Pin
Rajeshwar Code- Developer21-Nov-07 18:52
Rajeshwar Code- Developer21-Nov-07 18:52 
GeneralRe: how can i bind database to listbox.. Pin
Sam Xavier7-Mar-08 1:21
Sam Xavier7-Mar-08 1:21 
QuestionHow come an empty Form would need +10MB memory? Pin
antoniochris21-Nov-07 18:21
antoniochris21-Nov-07 18:21 
AnswerRe: How come an empty Form would need +10MB memory? Pin
Dave Kreskowiak23-Nov-07 5:41
mveDave Kreskowiak23-Nov-07 5:41 
Questionneed quickly Pin
nta_388621-Nov-07 4:00
nta_388621-Nov-07 4:00 
AnswerRe: need quickly Pin
Pete O'Hanlon21-Nov-07 9:42
mvePete O'Hanlon21-Nov-07 9:42 

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.