Normal Topic How to control slate position? (Read 846 times)
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
How to control slate position?
Nov 9th, 2007 at 6:51am
Print Post Print Post  
Has anyone found a way to control the position the Slate? 
OpenSlate() has no parameters for X.Y,Width,Height.

PopUpSelectPosition() only works with elements.  I want to use the OpenSlate to provide some feedback to the user, but I want to control its position so that it is not covering up the area it may be referencing.

It would also be good to toggle visibility of the Slate.

Hmm, sometimes it helps just to talk out an issue.  I think that I just solved the problem.  With version 2x I can use @RunWindow() instead of OpenSlate().  I can add a widget element to be used as a memo pad and write to that widget instead of using WriteLn.

Thanks for listening and helping.  And the answer came back so fast, this is truly an amazing forum!

-------------------------
Hmmm, may not work as I intended.  Just remembered that RunWindow dialog windows are Modal.  I will need to close them to continue, vs. my thought of having the Slate opened on the side, like a dynamic Help Screen.  Got some more work to do on this to find a sensible solution.


  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: How to control slate position?
Reply #1 - Nov 9th, 2007 at 1:27pm
Print Post Print Post  
Bob_Hansen wrote on Nov 9th, 2007 at 6:51am:
Has anyone found a way to control the position the Slate?

Not yet.

Quote:
It would also be good to toggle visibility of the Slate.

I do this with CloseSlate() and OpenSlate().
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: How to control slate position?
Reply #2 - Nov 10th, 2007 at 6:43am
Print Post Print Post  
Looked at @FormAsDialog but found that I can't control its position either.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: How to control slate position?
Reply #3 - Nov 10th, 2007 at 2:00pm
Print Post Print Post  
Bob,

Have you considered a Static Text element positioned on the form? Or the StaticDrawing Commands?
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: How to control slate position?
Reply #4 - Nov 10th, 2007 at 8:22pm
Print Post Print Post  
No, I did not consider that.  Good idea.  Only drawback is that it might disappear if I change tab pages. 

Hmm, maybe not.  No need to put it on a tab, could use any other real estate.  But my tabs are filling most of the screen.  Well, can't tell from here, will have to try it on some application.

Thanks for the suggestion. 
( I am sure the next version will provide positon tools for the Slate.  ) Roll Eyes
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: How to control slate position?
Reply #5 - Nov 10th, 2007 at 10:20pm
Print Post Print Post  
Bob_Hansen wrote on Nov 10th, 2007 at 8:22pm:
( I am sure the next version will provide positon tools for the Slate.  )


Doubtful. Application control of the position of fully qualified (has a frame provided by OS's windows manager) is very discouraged by both MS and X11.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged