Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I display a User Object outside a window's borders?

Status
Not open for further replies.

Tentacle

Programmer
Nov 10, 2000
34
ZA
I'm using PB 6.5 and created a date user object. Basically what it does is when you click on a button it increases the size of the user object to reveal a calendar from which the user can select a date. The problem I have is that if the window I place the use object on is smaller than the user object after it displays the calendar, its chopped of inside the window. Is there any way to make the user object display outside of the window size parameters, in other words display bigger than the window it's defined in. An example of this would be the drop down lost box, if you click the drop down button, the list will extend outside the window it's defined in if the window is smaller than the defined drop down list. Thanx in advance for whom ever tries to help me.
 
Its been a while since I worked in PowerBuilder... but you may want to try putting the userobject in a window (borderless) and defining the window such that it is allowed outside the bounds of the parent window.
 
Is the user object also doing something besides displaying a calendar and letting user select a date?

If not then consider creating a response window with full size user object in it. On click of button in your application window, you can invoke this response window and write appropriate code to set the selected date back in the application window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top