1. missing buttons
- Posted by George Walters <gwalters at sc.rr.com> Aug 20, 2001
- 538 views
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
2. Re: missing buttons
- Posted by George Walters <gwalters at sc.rr.com> Aug 20, 2001
- 547 views
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 > > > > >