U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Set Button's size programmatically (with maintaining the left-top position)
Set Button's size programmatically (with maintaining the left-top position) [message #40712] Sun, 08 September 2013 08:21 Go to previous message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
It is correct? (maybe exists special API for this?)
	
Button::LogPos btnPos = btn.GetPos();
	
btn.LeftPos(btnPos.x.GetA(), newWidth);
btn.TopPos(btnPos.y.GetA(), newHeight);

[Updated on: Sun, 08 September 2013 08:23]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: How to catch a (registered) Message comming from other application
Next Topic: Ctrl::ProcessEvent()
Goto Forum:
  


Current Time: Mon Nov 30 23:21:15 GMT+1 2026

Total time taken to generate the page: 0.00505 seconds