1. Set Position of wxFrame

Hi Eu'all,
Is there a way to change the position of a wxFrame?  get_rect gives me both
the position and size of a frame, and set_size lets me change the size of a
frame, but I can't find anything on setting the position of the frame
(other than when it's created).
Thanks in advance,
Gnu-B

new topic     » topic index » view message » categorize

2. Re: Set Position of wxFrame

Brian K. Clark wrote:
> 
> 
> Hi Eu'all,
> Is there a way to change the position of a wxFrame?  get_rect gives me both
> the position and size of a frame, and set_size lets me change the size of a
> frame, but I can't find anything on setting the position of the frame
> (other than when it's created).

Try using this:
--/topic Controls
--/proc move( atom win, integer x, integer y )
--
global procedure move( atom win, integer x, integer y )
	void = call_member( wxWindowBase_Move, win, { x, y } )
end procedure


Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu