Solution for smartphone to show dialogs with keyboard

Solution for smartphone to show dialogs with keyboard

Postby Silvio » Sun May 10, 2009 4:07 pm

Perhaps I found a solution for the smartphone :
see this image :

Image


I only made this:
Code: Select all  Expand view

#define EVENT_SIP      224


 oDlgClient:bSettingChange := {|uVal| PocketEvent( uVal,oDlgClient ) }

...
   ACTIVATE DIALOG oDlgClient;
   ON INIT ( DlgFullScreen( oDlgClient:hWnd ), oDlgClient:SetMenu( DialogBar(oDlgClient,oLbx) ) )


*----------------------------------
STATIC FUNCTION PocketEvent( uVal,oDlg )
*----------------------------------
   DO CASE
      CASE uVal == EVENT_SIP ; Dimensiona(oDlg)
   ENDCASE
RETU NIL
 
 
 
*---------------------------
STATIC FUNCTION Dimensiona(oDlg)
*---------------------------
    IF SipInfo()
        MoveWindow( oDlg:hWnd, 25, 0, 240, 185 )
     ELSE
        DlgFullScreen( oDlg:hWnd )
      // MoveWindow( oDlg:hWnd, 28, 10, 220, 260 )
    ENDIF
    oDlg:Refresh()
RETU NIL

 


the problem I cannot see the listbox bottom scroll .... where is it ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Solution for smartphone to show dialogs with keyboard

Postby Otto » Sun May 10, 2009 7:10 pm

Hello Silvio,
try to change the height of the listbox
oBrw:nHeight = 105
oBrw:refresh()
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6001
Joined: Fri Oct 07, 2005 7:07 pm

Re: Solution for smartphone to show dialogs with keyboard

Postby Silvio » Mon May 11, 2009 6:51 am

THANKS Otto,
but I wanted to use the function Dimensiona for all my dialogs into my application.
On my dialog use listboxes and also folders.
On that dialog not is a folder but a listbox to another there is a folder and not listbox
If I insert olbx:nHeight:=105 on my function I must to control if this control exist ....
I hope you understand me
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests

cron