Alaska Software Inc. - Re: MS Remote Desktop didnt show XbpDialog Text or Graphic
Username: Password:
AuthorTopic: Re: MS Remote Desktop didnt show XbpDialog Text or Graphic
Jorge L. BorlandoRe: MS Remote Desktop didnt show XbpDialog Text or Graphic
on Tue, 01 Jan 2019 11:24:02 -0300
Hi Diego, I define a callback XbpBrowse():keyboard with this function,
but I do not finish understanding the behavior of the focus in the 
xbpcheckbox, that when I use the keyboard generates unwanted selection 
behaviors

Function Mykeyb( nKey, u2, obj )
   Local i, oCol, oCheck
   If ( nKey = xbeK_SPACE ) //.And. obj:isDerivedFrom( 'XbpBrowse' ) )
      ForceReadEvents()
      oCol := obj
      While ( oCol != NIL .And. !IsMethod( oCol, '_DownCheck' ) )
         oCol := oCol:setParent()
      EndDO
      If ( oCol != NIL )
         oCheck := oCol:ChildList()[oCol:oBrowse:rowPos]
         SetAppFocus( oCheck )
         If ( oCol:datalinkCheck != NIL )
            Eval( oCol:datalinkCheck, !oCheck:editBuffer(), NIL, oCol )
         EndIF
         oCol:oBrowse:refreshAll()
      EndIF
   EndIF
   Return ( nKey )


"Roland Gentner" <rg@gentner.net> wrote in message 
news:416bcab5$2b91b83e$6f545@news.alaska-software.com...
> Hallo!
>
> When i show Text or Graphic with XbpDialog over MS Remote Desktop, i see 
> only the DialogBox.
> When the box is moved with the mouse, Text or Graphic is shown shortly - 
> but not permanent.
> What is the Problem?
>
> Regards
> Roland
>
>
Jorge L. BorlandoRe: MS Remote Desktop didnt show XbpDialog Text or Graphic
on Tue, 01 Jan 2019 11:26:01 -0300
Sorry, wrong thread

"Jorge L. Borlando" <jlborlando@yahoo.com.ar> wrote in message 
news:2d06b6ba$3e83b417$8ace9@news.alaska-software.com...
> Hi Diego, I define a callback XbpBrowse():keyboard with this function,
> but I do not finish understanding the behavior of the focus in the 
> xbpcheckbox, that when I use the keyboard generates unwanted selection 
> behaviors
>
> Function Mykeyb( nKey, u2, obj )
>   Local i, oCol, oCheck
>   If ( nKey = xbeK_SPACE ) //.And. obj:isDerivedFrom( 'XbpBrowse' ) )
>      ForceReadEvents()
>      oCol := obj
>      While ( oCol != NIL .And. !IsMethod( oCol, '_DownCheck' ) )
>         oCol := oCol:setParent()
>      EndDO
>      If ( oCol != NIL )
>         oCheck := oCol:ChildList()[oCol:oBrowse:rowPos]
>         SetAppFocus( oCheck )
>         If ( oCol:datalinkCheck != NIL )
>            Eval( oCol:datalinkCheck, !oCheck:editBuffer(), NIL, oCol )
>         EndIF
>         oCol:oBrowse:refreshAll()
>      EndIF
>   EndIF
>   Return ( nKey )
>
>
> "Roland Gentner" <rg@gentner.net> wrote in message 
> news:416bcab5$2b91b83e$6f545@news.alaska-software.com...
>> Hallo!
>>
>> When i show Text or Graphic with XbpDialog over MS Remote Desktop, i see 
>> only the DialogBox.
>> When the box is moved with the mouse, Text or Graphic is shown shortly - 
>> but not permanent.
>> What is the Problem?
>>
>> Regards
>> Roland
>>
>>