1. missing buttons

Hi, all:
    I have the following window (child of grpActive window)opening, however
no buttons show up. Can anyone explain?

 winId = create(Window,"",grpActive,wx,wy,wl,wh,0)
 pickField[fldCount] = {winId,routine_id("pickTaxAuthority")}
 id = create(List,"",winId,0,0,200,100,#82)
 pickIndex[fldCount] = {id,fldCount}
 pkOk = create(Button,"OK",winId,50,150,20,20,0)
 onClick[pkOk] = routine_id("getCode")
 pkCancel = create(Button,"Cancel",winId,100,150,20,20,0)
 onClick[pkCancel] = routine_id("exitRoutine")

...george

new topic     » topic index » view message » categorize

2. Re: missing buttons

Bernie, thanks

that's it the buttons positions were too big for the window (they were
outside)

...george
----- Original Message -----
From: "Bernie Ryan" <xotron at localnet.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: missing buttons


>
>
> George Walters wrote:
> > Hi, all:
> >     I have the following window (child of grpActive window)opening,
however
> > no buttons show up. Can anyone explain?
> >
> >  winId = create(Window,"",grpActive,wx,wy,wl,wh,0)
> >  pickField[fldCount] = {winId,routine_id("pickTaxAuthority")}
> >  id = create(List,"",winId,0,0,200,100,#82)
> >  pickIndex[fldCount] = {id,fldCount}
> >  pkOk = create(Button,"OK",winId,50,150,20,20,0)
> >  onClick[pkOk] = routine_id("getCode")
> >  pkCancel = create(Button,"Cancel",winId,100,150,20,20,0)
> >  onClick[pkCancel] = routine_id("exitRoutine")
> >
> > ...george
> george:
>   It may have some to do with the size of WinId Window are you
>   placing the buttons within the client area of the window?
>
> Bernie
>
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu