Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi,

 

i have been using VB 6 for a while now and now i am migrating to .net for one project

 

but while desiging form in the IDE i am having problems with fine positioning the controls .

 

in vb 6 when you select a control ( Say Textbox) then six handles appear) indicting that the control is selected.

We can press Ctrl + Arrow keys to move

or Shift + Arrow key to resize finely

the movement functionality is maintained but the fine size function has been discontinued in VB .net

this gives lots of problems

 

Another big problem is that when the handles appear aroud the control a very thick border line also comes around the control

this was not in vb. There used to be a border but it used to be only 1 pixel thick

can you suggest how to make this samller in .net

  • Moderators
Posted

You can't make the handles border smaller, if you use the Crtl-Shift to move a control it will be in smaller increments.

 

In Options > Windows Form Designer, there is a Snap To Grid and Grid size, but they don't seem to do much.

Visit...Bassic Software
  • *Experts*
Posted

Here are the shortcuts:

 

Arrows: Moves control by grid unit

Ctrl-Arrows: Moves control by 1 pixel

Shift-Arrows: Resize control by grid unit

Ctrl-Shift-Arrows: Resize control by grid unit

 

Per form - actually, per control that allows nested controls such as panel - you can turn the grid on/off and change the size.

 

You can't change the border...

 

 

-nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...