Open Window with Coordinates
David Ferri
davidferri at icloud.com
Sun Feb 7 17:28:04 EST 2016
Hi Bas,
Thanks for the help. I was able to get it to work by bracketing each coordinate. It turns out I didn’t nee the * for the instance, which is fine, I don’t need multiple instances of the window anyway.
Regards,
David Ferri, President
Word Master, Inc.
320 Earls Ct.
Deerfield, IL 60015
Ph: 847-948-9600
Cell: 847-922-0080
Fax: 847-948-9617
http://www.wordmaster.com
> On Feb 5, 2016, at 20:59, Bastiaan Olij <bastiaan at basenlily.me> wrote:
>
> Hey David,
>
> Haven't used the open window 4GL command in ages. I think in part it is
> because it now requires an instance name, and also indeed needing brackets.
>
> Try:
>
> Open window instance myWindow/*/[iLeft]/[iTop]/[iRight]/[iBottom]
> (Param1, Param2)
>
> Also note that if you reposition the window within it $construct and
> before you've executed any redraws, the window will be shown at those
> coordinates without the user seeing you move it around the screen.
>
> Cheers,
>
> Bas
>
> On 6/02/2016 12:21 PM, David Ferri wrote:
>> Hi All,
>>
>> Studio 4.x:
>>
>> I’m trying to get a window to open based on computed coordinates for where it should open and how wide and tall the window should be. I can’t find the syntax that will work, I think it’s a matter of putting brackets in the right place? Here is what I have:
>>
>> Open window instance myWindow /iStartingWidth/iStartingHeight/iEndingWidth/iEndingHeight] (Param1,param2)
>>
>> I’ve tried all sorts of combinations, none of which work.
>>
>> What is the correct syntax to get myWindow to open at the values of iStartingWidth and iStartingHeight and so the window is iEndingWidth wide and iEndingHeight tall?
>>
>> Regards,
>> David Ferri, President
>> Word Master, Inc.
>> 320 Earls Ct.
>> Deerfield, IL 60015
>> Ph: 847-948-9600
>> Cell: 847-922-0080
>> Fax: 847-948-9617
>> http://www.wordmaster.com <http://www.wordmaster.com/>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
>
> --
> Kindest Regards,
>
> Bastiaan Olij
> e-mail: bastiaan at basenlily.me
> web: http://www.basenlily.me
> Skype: Mux213
> http://www.linkedin.com/in/bastiaanolij
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list