I was able to import a vfp form with a button, that had a messagebox with a hello world message in the click event, but I added a grid linked to a dbf in my hard drive, and I wasn´t able to see the grid when I reimported the form.
I was able to import a vfp form with a button, that had a messagebox with a hello world message in the click event, but I added a grid linked to a dbf in my hard drive, and I wasn´t able to see the grid when I reimported the form.
Hi Gerardo,
If you Submit a Ticket and attach the scx/sct to the ticket we can take a look.
Thanks,
Yvonne
Hi
I also tested .scx importer.
Looks like it's progressing, but seems far from achievement.
I would like to suggest that Lianja team test several .scx forms with several components and codes including embedded activeX and dataenvironment.
Only this way the importer project will succeed.
Also, creating an automatic importer to import forms from a folder create a new lianja page from each of them.
Moises
Last edited by ACRISOFT; 2013-05-10 at 12:06.
When I imported a form.
the scp file is a text file with all the properties and methods of any components.
Its easy to understand!
I have a doubt; Where is the FORM properties?
If I need modify the form's properties and methods; how can I do it?
Thanks
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
Well, when I import a form, I can see any details in the description, but, how can I modify the methods and properties, but when run, yes they is it, but, if need change something, when is this data?
Thanks again
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
Greetings
Just trying to get may head round a few things
As a test I created a form in VFP, three buttons and a text box, buttons change text in text box on click(), very simple runs fine
Opened Llainja, created a new desktop app (vfp)
Select Import VFP form, choose form - message beautyfing code
After a short pause Llainja crashes
re launched and tried again and it says xyz.scp already exists do I want to overwrite it, if I do overwrite the same thing happens - Lianja crashes
If I don't overwrite it, I can see a file under app files / forms called xyz.scp which I can open, and I can see the code with various classes defined
I can run that and I can see the form running
So the code is building the form on the fly - fine with that
Apart from the crashing element ?
I want to learn to replicate that form using the page builder
I have a canvas and a commandbuton and a label controltype with a name of Field2 and a fullname of page1.section2.field2
Could someone help me with the syntax to reference that... so as to change the label caption to "Something" ... in the click event of the commandbutton
I did try page1.section2.field2.caption="Something" etc
Also is there a good source of syntax information for referencing form controls etc
Many Thanks
We have had reports of some issues with vfp_beautify in the current version, this has been fixed in the forthcoming Lianja 5.0. For now, please do the following before importing your VFP project or files:
Go to the Library workspace and edit the Script File vfp_import_xcx.prg and comment out lines 341 and 342, then save:
//Lianja.showMessage("Beautifying code", 175)
//vfp_beautify(m.cOutputFile)
Regards,
Yvonne
Apart from the crashing element ?
I want to learn to replicate that form using the page builder
I have a canvas and a commandbuton and a label controltype with a name of Field2 and a fullname of page1.section2.field2
Could someone help me with the syntax to reference that... so as to change the label caption to "Something" ... in the click event of the commandbutton
I did try page1.section2.field2.caption="Something" etc
Also is there a good source of syntax information for referencing form controls etc
Many Thanks
There is a ton of documentation. Each forum has “Essentials” which will guide you.
In this forum that you have posted you will see above “Development Essentials”. Click that and look at the Lianja object model.
https://www.lianja.com/community/for...-UI-Essentials
https://www.lianja.com/community/for...ent-Essentials
Look in each forum at each Essentials and it will help get you up to speed.
Last edited by barrymavin; 2019-04-11 at 10:28.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
(I was too slow, but some more links here)
Use Lianja.get() or synonyms:
Working with the Lianja Object Model
Note that for Canvas Advanced Controls, you can use a unique name rather than a hierarchical name.
There are some example Apps with Canvas Sections, including:
Lianja Custom Canvas Demo (lianjcustomcanvas) (Desktop, Lianja/VFP)
Lianja Canvas Section Web UI Demo (example_webapp3) (Web, JavaScript)
Attributes Documentation
Regards,
Yvonne
Bookmarks