folder bug

folder bug

Postby Silvio » Mon Aug 25, 2008 4: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Aug 26, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Aug 26, 2008 8: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Aug 26, 2008 8:52 am

Silvio,

Can you reproduce it in the Windows Mobile emulator ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Aug 26, 2008 11:13 am

sure
look it please

first sample

Image

second sample
Image

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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Aug 26, 2008 3: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 ?



Code: Select all  Expand view

#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

Image
Best Regards, Saludos

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

Postby Wolfgang Ciriack » Wed Aug 27, 2008 2: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
Wolfgang Ciriack
 
Posts: 37
Joined: Sun Aug 03, 2008 8:02 am
Location: Germany, Berlin

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Fri Aug 29, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Fri Aug 29, 2008 3: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
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 14 guests