You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dave

Beginner

  • "dave" started this thread

Posts: 4

Date of registration: Jan 26th 2009

  • Send private message

1

Monday, January 26th 2009, 4:30am

Snap to grid

Hello all,

First I would like to say I think Jabaco is great. I can now add programs to my web page without learning Java. Thank you.

My question is I would like to change the grid size or turn off snap to grid. Is that possible?

Dave

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

2

Monday, January 26th 2009, 8:28pm

Quoted

My question is I would like to change the grid size or turn off snap to grid. Is that possible?
I'm not sure if I understand it correctly:

Turn off the autoresize (it's default, isn't it?)

Jabaco Source

1
JBGrid1.AutoResize = jbAutoResizeOff


Change the width at col:

Jabaco Source

1
JBGrid1.ColWidth(0) = 100


Change the height at row:

Jabaco Source

1
JBGrid1.RowHeight(0) = 120 ' change height at row 1

dave

Beginner

  • "dave" started this thread

Posts: 4

Date of registration: Jan 26th 2009

  • Send private message

3

Monday, January 26th 2009, 8:55pm

Manuel,
Thanks for the reply. I'll try to clarify my question. I am asking about the grid in the IDE and placing tools on a form. When I place a button for example it snaps to a grid. Or when I change the size of a tool it snap to the grid. I would like to change the size of that grid. I hope that explains my question better.

I don't know what the JBGrid is or what it does.
Dave

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

4

Monday, January 26th 2009, 9:06pm

Quoted

Or when I change the size of a tool it snap to the grid. I would like to change the size of that grid. I hope that explains my question better.
Ok. You would like to change the raster-size in the GUI-editor? I'll make that possible for the next version. As workaround for the current version: select your control (e.g. your CommandButton) and change the width/height-property.

Rate this thread
WoltLab Burning Board