Groups | Search | Server Info | Login | Register


Groups > comp.lang.clipper > #1601

Re: GET TBROWSE

Newsgroups comp.lang.clipper
Date 2023-06-30 12:28 -0700
References <d770d8ee-1354-44ea-841f-d3d5cba27e03n@googlegroups.com> <u7libq$2eifg$1@dont-email.me> <6076fe34-3077-45a8-8701-47e6b7d05527n@googlegroups.com> <b143f44b-2632-43fe-93d9-58f0283f73edn@googlegroups.com> <u7n176$2jcir$1@dont-email.me>
Message-ID <06ee189b-751b-4180-a2da-606c2c6cccedn@googlegroups.com> (permalink)
Subject Re: GET TBROWSE
From Mohamed Hamza <medhome60@gmail.com>

Show all headers | View raw


Le vendredi 30 juin 2023 à 17:51:52 UTC+1, lohen a écrit :
> Op 2023-06-30 om 17:50 schreef Mohamed Hamza:
> > Le vendredi 30 juin 2023 à 16:03:17 UTC+1, Mohamed Hamza a écrit : 
> >> Le vendredi 30 juin 2023 à 04:32:12 UTC+1, lohen a écrit : 
> >>> Op 2023-06-29 om 20:54 schreef Mohamed Hamza: 
> >>>> Hi All, 
> >>>> 
> >>>> I wrote this simple code to show my problem: 
> >>>> 
> >>>> @0, 0, 10, maxcol() GET u1 TBROWSE oTB1 
> >>>> @11, 0, maxcol(),maxrow() GET u2 TBROWSE oTB2 
> >>>> 
> >>>> READ 
> >>>> 
> >>>> oTB1 is displayed normaly but oTB2 is not showed until I click on 11,0,maxcol(),maxrow() zone or when I use the TAB key! 
> >>>> Is it possible to display oTB1 and oTB2 at the same time? 
> >>>> 
> >>>> Nb: I believe that oTB2 is displayed when we set the focus on it? 
> >>>> 
> >>>> Regards. 
> >>>> 
> >>>> Med 
> >>> Can you use the @ ... GET SEND ... clause as in 
> >>> 
> >>> @ 0,0,10,maxcol() GET u1 TBROWSE oTB1 SEND display() 
> >>> @ 11,0,maxrow(),maxcol() GET u2 TBROWSE oTB2 SEND display() // 
> >>> maxrow(),maxcol() was in wrong order in your sample 
> >>> 
> >>> hth, 
> >>> 
> >>> lohen 
> >> I got the same result 
> >> 
> >> @ 0, 0,10,maxcol() get u tbrowse otb1 send display() 
> >> @ 11,0,maxrow(),maxcol() get u2 tbrowse otb2 send display() 
> > I fact, the correct way is 
> > 
> > @ 0,0,10,maxcol() get u tbrowse otb1 send control:forcestable() 
> > @ 11,0,maxrow(),maxcol() get u2 tbrowse otb2 send control:forcestable() 
> > 
> > Med
> Hadn't thought of that! :-) Thanks for sharing 
> 
> lohen

Now I want to get the active   get tbrowse  otb1 or otb2  I  tried   
@0, 0, 10, maxcol() GET u1 TBROWSE oTB1   send   ....           when getalias()
 @11, 0, maxcol(),maxrow() GET u2 TBROWSE oTB2  send ....when getalias()

function getalias()
local otb
otb:=getactive():control
return .t.

otb is not the control I expected?

Med


Back to comp.lang.clipper | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-06-29 11:54 -0700
  Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-06-30 05:32 +0200
    Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-06-30 08:03 -0700
      Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-06-30 08:50 -0700
        Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-06-30 18:51 +0200
          Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-06-30 12:28 -0700
            Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-07-01 08:16 +0200
              Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-06-30 23:36 -0700
                Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-07-01 09:20 +0200
                Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-07-01 03:21 -0700
                Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-07-01 12:44 +0200
                Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-07-01 09:15 -0700
                Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-07-01 18:56 +0200
                Re: GET TBROWSE Mohamed Hamza <medhome60@gmail.com> - 2023-07-01 11:02 -0700
                Re: GET TBROWSE lohen <lohen@users.sourceforge.net> - 2023-07-01 21:55 +0200

csiph-web