Ariane Soft PPL2 Pocket Programming DataMite

Go Back   ArianeSoft Forums > PPL version 2 > General

Thread Tools Search this Thread Display Modes
Old 08-06-2009, 07:15 PM
jdixon jdixon is offline
Junior Member
Join Date: May 2008
Location: Amherst MA USA
Posts: 21
Question General help with with a form in PPL 2

I am trying to make a general form with a button and display window that to shows a variable. I know how to do this in ppl1 but can not figure it out in ppl2. All the tutorials show how to change the caption of a window bar. Please help me understand and use PPl 2.

Thank you

Last edited by jdixon; 08-06-2009 at 07:18 PM.
Reply With Quote
Old 08-06-2009, 09:46 PM
kornalius kornalius is offline
Join Date: Apr 2006
Posts: 551

Select the Edit control, go to the Bind property. Add a new bind and link it to a PValue object (that you will need to create) or you can link to a PPL variable by choosing PBindVar instead of PBindObject.

This will update the binded objects depending on the update directions you chose.

Another way would be to create a OnShow event on the form and do the following code:

EditControl.Text = MyVar$;

If you want to do this visually (much simpler than manual coding). Just drag the EditControl object on the OnShow method object. Then select Text from the list. In the Expr property of that new visual code line, type MyVar$.
Alain Deschenes
ArianeSoft Inc.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:36 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 - All rights reserved
Web Design by BR Web Consulting Ltd