PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Installation on a ipaq 2750

Hi, i just download ppl and installed on ipaq 2750 to see how it work. I installed ppl on the ipaq filestore without any problem. After that i started ppl and i used the visual form builder, make a new button , then i opened control-propreties of this button. Here is the problem: in the tabs showed (general or Style or Ext) i cannot read the propreties because instead of the names i see only squares. I would like to know what i did wrong or to have some suggestion on how to solve this issue. Thank you very much
Hi,

Thanks for your interest in PPL.

The visual form editor on the PocketPC is in very early development stage. The control properties are not working yet. I suggest you use the Visual Form Editor on the PC with the PIDE instead.
Hi, thanks for the quick answer , I understand so I will use the desktop... I hope it's in your plans to have full implementation of the visual form builder because I find very useful to program directly on the device.
Hi,

Interesting problem. Sorry I missed this one. I looked at the source and at one point a test string is found in a list of structures and stc.name is returned and it is added to the list box. Normally, getting a string from a structure requires it to be derefferenced (as in "showmessage(@str.name);") but in passing it to the sendmessage function to add it to the listbox this is not done on the desktop. It looks like this:

Code:
tmpStr$ = GenStyleIdToName(GenStyleArray$[i$]);
showmessage(@tmpStr$);
SendMessage(GENSTYLES$, LB_ADDSTRING, 0, tmpStr$);


For this to work on the PPC, I had to add a '@' to the sendmessage call. So now it looks like this:

Code:
tmpStr$ = GenStyleIdToName(GenStyleArray$[i$]);
#ifdef _WIN32_WCE
SendMessage(GENSTYLES$, LB_ADDSTRING, 0, @tmpStr$);
#else
SendMessage(GENSTYLES$, LB_ADDSTRING, 0, tmpStr$);
#endif


Is this because of the implicit call to WIDE to convert the string to wide chars for the PPC API call?

Can something be done to make this the same on both platforms or should we take care of the details in ListBox_lib.ppl?

I hope that you are enjoying your break Kornalius. I was surprised to see that you answered the question so quickly. You must be missing your project.

matteo thanks for pointing this out. I, like yourself, am interested in programming on the PPC so I have offered to help out Kornalius with some of the code for the VFB. Here is a quick status report of the still pending items.

    - accelerator key support pending on PPL supporting this feature
    - Some controls (listbox, combobox, treeview, header...)
    - Code Generation still needs work
    - Font support (font lib for getting name & size values)
    - some styles on existing controls could be wrong


Go ahead and report other errors and I'll try to fix them. Right now I'm working on being able to select a font in the control properties.

I'm attaching a new version that should display the properties in the listbox correctly on the PPC and on the desktop.

bmanske
Attachments:
VFB.ppl (51 KB)
matteo · 14 Jul 2005, 20:11 UTC — wow thanks a lot
hello bmanske
I'm impressed... I downloaded your fix and it work really well both sides (desktop and device). I'm really happy to have found you peoples and this project that is supported so well. I'm also happy because finally seem i've found something that I can use on the device and that is not so hard to program. I'm interested to the listbox control and i would like to figure out if it's some datagrid control to use with sqlite and PPL (if someone have any suggestion because I'm really starting from begin with PPL and pocketpc programming) . Thank you again to you all and for sure i will try my best to help testing.
bmanske: Yeah I miss the project but this time off is really doing good for me. Only still about one month to go until I start to work on it again.

matteo: Glad you enjoy the experience! :)
PointOfLight · 15 Jul 2005, 19:27 UTC
matteo: if you want a "grid" just for viewing purposes, I would suggest using the ListView control. I believe there is a library for it (appropriately called ListView_lib) included with the PPL distribution. To actually be able to edit the data, I would set it up so that clicking on a row brings up a second form with editable fields. I haven't done the second part yet, but I believe I've done the first part, so I will dig through my work when I get home and see if there's something I can post.
@Kornelius: yes it's a cool program, when you think it will be released and how much approximatly will cost?

@pointoflight: thank for your suggestion i'm working on and see what i can figure out
PointOfLight · 17 Jul 2005, 21:24 UTC
I'm glad you replied to this, because I had forgotten about it before I got the notice that there was a reply to the thread. Attached is an ADOCE browser that I started to write in PPL. I can't say to much for the validity of it any more, because I started this several itterations of PPL back, but if it's any use you're welcome to it. Good luck, and keep asking if you have more questions.
Attachments:
adoce.zip (13 KB)
Big thank you PointOfLight! I have only a question referring an error i get running it, is there somewhere this treeview_lib.ppl that is missing? Thank you for the help i'm getting here
PointOfLight · 20 Jul 2005, 05:56 UTC
Sorry about that. That is a library I started with the intention of supplying it to the PPL community when it was done. Unfortunately, I never got around to finishing it. I'm not sure that the project actually uses it anywhere, but here it is anyway.
Attachments:
TreeView_lib.ppl (2 KB)
Hi again PointOfLight, and again thank you for your patience!!! I feel really bad to going to ask more but there is another library missing (i think this is the last one , i should have check it all ) named tabctl_lib.ppl, it's possible to get this one too so that i can complete to compile your project that really is a good point of start for me. Thank you PointOfLight
PointOfLight · 21 Jul 2005, 12:13 UTC
I'm actually kind of surprised about that one. I thought it was included in the package. Here it is.
Attachments:
tabctl_lib.ppl (2 KB)
thank you for your help !!
PointOfLight · 21 Jul 2005, 16:56 UTC
No problem. I hope that turns out to be useful.