FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC folder bug
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Mon Aug 25, 2008 04:46 PM

Dear antonio,

I saw the folder test sample fwppc and i saw that keyboard of smartphone hide the gets .

Instead i saw another program for wince and it have the panel scroll inside and when i click the keyboard the folder is move on up the same keyboard and i can see all the get of that folder.
I think it very important modify to do...

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
folder bug
Posted: Tue Aug 26, 2008 08:26 AM

Silvio,

That behavior has to be implemented by the programer.

We don't know when the keyboard is going to be used, and what should be needed to be moved in the screen, to get a proper view.

You just need to change the oFolder:nTop value, or the oDialog:nTop value.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Tue Aug 26, 2008 08:41 AM

one sample to see if you have wince 5.0 or wince 6.1 can be the program today of configuration of smartphone or pds : there is a folder and on a one a listbox and to write some gets.
When you open the keyboard the folder go up and it create panel scroll.
I think it must be inative system and not from a modify of a rogrammer or i perhaps I' thinking bad...

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
folder bug
Posted: Tue Aug 26, 2008 08:52 AM

Silvio,

Can you reproduce it in the Windows Mobile emulator ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Tue Aug 26, 2008 11:13 AM
sure
look it please

first sample



second sample


Instead if you compile a your sample with folder and get and press the keyboard then the keyboard hide the folders and the gets into...
Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
folder bug
Posted: Tue Aug 26, 2008 12:30 PM

Silvio,

Please add this style to the dialog: WS_VSCROLL and try it again.

It seems as the SmartPhone scrolls automatically if such style is used.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Tue Aug 26, 2008 03:24 PM
Antonio,
Now i trying with window but not know where i can insert this value
On sample test I see buttons only on first folder How I can see all buttons ?



 
#include "FWCE.ch"



 function main()

   local oWnd,   oFld, i
   Local abtn[120]
   Local oPanel[6]

   DEFINE WINDOW oWnd TITLE "Beach" 




  // USE ( CurDir() + "\tavoli" )

 @ 0.5, 1 FOLDER oFld PROMPTS "1-20", "21-40", "41-60","61-80","81-100","101-120" ;
      SIZE 225, 245

 @ 0.6, 1.5 PANEL oPanel[1] OF oFld:aDialogs[ 1 ] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL


     FOR i = 1 TO 20
     CREAPULSANTI( aBtn, i ,oPanel[1])
    NEXT

@ 0.6, 1.5 PANEL oPanel[2] OF oFld:aDialogs[ 2 ] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL

 FOR i = 21 TO 40
     CREAPULSANTI( aBtn, i ,oPanel[2])
    NEXT

@ 0.6, 1.5 PANEL oPanel[3] OF oFld:aDialogs[ 3 ] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL

 FOR i = 41 TO 60
     CREAPULSANTI( aBtn, i ,oPanel[3])
    NEXT


@ 0.6, 1.5 PANEL oPanel[4] OF oFld:aDialogs[ 4 ] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL

 FOR i = 61 TO 80
     CREAPULSANTI( aBtn, i ,oPanel[4])
    NEXT


  @ 0.6, 1.5 PANEL oPanel[5] OF oFld:aDialogs[ 5 ] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL

 FOR i = 81 TO 100
     CREAPULSANTI( aBtn, i ,oPanel[5])
    NEXT



   @ 0.6, 1.5 PANEL oPanel[6] OF oFld:aDialogs[6] ;
      SIZE oFld:nWidth()-5 , oFld:nHeight() - 20 PIXEL

   FOR i = 101 TO 120

     CREAPULSANTI( aBtn, i ,oPanel[6])
    NEXT








   ACTIVATE WINDOW oWnd

return nil

//----------------------------------------------------------------------------

STATIC FUNCTION CREAPULSANTI( aBtn, nBtn,odlgscroll )

   @ 0.5 + ( nBtn - 1 ) * 40, 12 BUTTON abtn[nBtn] PROMPT "TAV." + STR( nBtn, 2 );
   PIXEL of odlgscroll SIZE 40,40



     *abtn[nBtn]:bAction := {|| menupopup( aBtn[nBtn ] ) }


     RETURN NI




I wish create this window

Best Regards, Saludos



Falconi Silvio
Posts: 37
Joined: Sun Aug 03, 2008 08:02 AM
folder bug
Posted: Wed Aug 27, 2008 02:58 PM

Hi Silvio,
perhaps it is better only to create 20 buttons for the tables and 3 buttons for the group tables. Then you have not so much objects and can only change the captions and colors of table buttons with the group buttons ?

Best regards

Wolfgang Ciriack
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Wed Aug 27, 2008 10:38 PM

Dear wolfang,
I need to create total 120 buttons
20 each folder.
have you an sample to create it?

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
folder bug
Posted: Fri Aug 29, 2008 07:51 AM

Silvio,

You don't need a panel for each folder page.

Simply use the oFolder:aDialogs[ n ] as the container for each group of buttons

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
folder bug
Posted: Fri Aug 29, 2008 03:22 PM

Antonio,
I must arrive to 300 tables where I insert all ?
I must divide to 50 for each folder and it so for six folder

Best Regards, Saludos



Falconi Silvio

Continue the discussion