dbTalk Databases Forums  

TableFrame column moving - in OPAL

comp.databases.paradox comp.databases.paradox


Discuss TableFrame column moving - in OPAL in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Moseley
 
Posts: n/a

Default TableFrame column moving - in OPAL - 07-13-2007 , 09:58 AM







Greetings all.

On a form with a MRO tableframe, I'm trying to let the users reorder the
columns, and also resize them. I've figured out how to actually reorder
them using mouse events and ui1.CurrentColumn and ui2.ColumnPosition. But
I can't figure out how to clearly show them where they're moving the column
to. I'm highlighting each field on mouseEnter/mouseExit, but as you scroll
off the page left/right, this doesn't follow.

So, basically, 3 questions looking for good techniques to:

1. Scroll a tableframe so it follows a mouse event off the left/right of
the visible area?

2. Highlight that a column move is happening, and where it will be positioned
as it is moving?

3. Resize an existing column?

Also, is there any way to do this without having to set TabStop=true? Most
of the columns are for reference only - just 3 of 30+ can be changed.

BTW, Pdox 9 sp3, and RunTime.

TIA,
Jim Moseley

Reply With Quote
  #2  
Old   
Jim Moseley
 
Posts: n/a

Default Re: TableFrame column moving - in OPAL - 07-13-2007 , 02:13 PM







Quote:
3. Resize an existing column?
My main question on this is how do you know you're on the column divider
instead of a field?

I can figure out the resizing mouse events, but I don't know how to kick
them off. What I'm looking for is to display a <-> pointer when I'm hovering
over the divider, and the regular cursor if not.

Thanks,
Jim Moseley




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.