Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Save/Load Forms RunTime ?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Using Bresenham's line al...
by
cdbc
[
Today
at 02:55:59 pm]
Lazarus IDE Start Up Issu...
by
paweld
[
Today
at 02:50:24 pm]
Forum sloooow again...
by
Fred vS
[
Today
at 02:39:23 pm]
Weird error: component no...
by
jamie
[
Today
at 02:38:58 pm]
Mint Cinnamon: Cannot sho...
by
Fred vS
[
Today
at 01:32:08 pm]
Online Package Manager
by
wp
[
Today
at 12:51:36 pm]
Explaining Generics and S...
by
Thaddy
[
Today
at 11:52:36 am]
Rotating a simple bitmap ...
by
marcov
[
Today
at 11:50:07 am]
Very Slow Online Package ...
by
Thaddy
[
Today
at 11:16:02 am]
Lazarus on Mint - Palette...
by
dbannon
[
Today
at 08:32:53 am]
AVRPascal – free code edi...
by
ackarwow
[
Today
at 07:55:51 am]
Crash in app
by
biologic
[
Today
at 04:11:10 am]
fpsSpreadsheet. Unable t...
by
dgrhoads
[
Today
at 03:11:52 am]
IDE tabs and spaces, auto...
by
n7800
[
Today
at 02:42:52 am]
[SOLVED] What is the name...
by
n7800
[
Today
at 01:52:19 am]
filename from Uri
by
biologic
[
Today
at 01:45:44 am]
Where are the sources for...
by
flowCRANE
[
Today
at 12:38:54 am]
Reading text out loud?
by
jamie
[
Today
at 12:02:05 am]
Speech from textbox
by
jamie
[March 22, 2025, 11:47:40 pm]
Подписи кнопок панели инс...
by
Miralok
[March 22, 2025, 11:33:50 pm]
How to delete from app il...
by
Boleeman
[March 22, 2025, 10:54:59 pm]
Can't put Lazarus in dock
by
VTwin
[March 22, 2025, 08:33:23 pm]
TrayIcon doesn't work usi...
by
CM630
[March 22, 2025, 08:31:45 pm]
Uninstall
by
VTwin
[March 22, 2025, 08:09:22 pm]
How to wirte a drag into ...
by
d2010
[March 22, 2025, 07:12:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Save/Load Forms RunTime ? (Read 7907 times)
Eric.Developer
New Member
Posts: 14
Save/Load Forms RunTime ?
«
on:
April 18, 2010, 01:48:31 pm »
Hi,
Is it possible to save/load forms, edit, etc in time of execution? as gtk (XML)
Logged
Eric Developer
{Delphi, Lazarus, PHP}, SQL, FastReport
Xailer, Fivewin, Hwgui, Harbour, Clipper, ADVPL
Freelance, Developments
typo
Hero Member
Posts: 3051
Re: Save/Load Forms RunTime ?
«
Reply #1 on:
April 18, 2010, 02:25:01 pm »
You refer to form properties or to the entire resource file of the form?
Logged
LazarusBrasil.Org
Eric.Developer
New Member
Posts: 14
Re: Save/Load Forms RunTime ?
«
Reply #2 on:
April 18, 2010, 03:16:03 pm »
load all content Form dynamically, in the execution of the application
Logged
Eric Developer
{Delphi, Lazarus, PHP}, SQL, FastReport
Xailer, Fivewin, Hwgui, Harbour, Clipper, ADVPL
Freelance, Developments
typo
Hero Member
Posts: 3051
Re: Save/Load Forms RunTime ?
«
Reply #3 on:
April 18, 2010, 06:58:46 pm »
Well, you can design your form at then create it with:
Code:
[Select]
Application.CreateForm(TMyForm, MyForm);
After designing it on the editor, you must remove the above line from the project unit (LPR file) and then you can create it in any place on your code.
Logged
LazarusBrasil.Org
Eric.Developer
New Member
Posts: 14
Re: Save/Load Forms RunTime ?
«
Reply #4 on:
April 18, 2010, 11:47:27 pm »
Hi typo,
that is not the traditional? form will be being compiled.
gtk (to read file XML), HTML, etc, they are dynamic, not needing to recompile if it alters the form
Logged
Eric Developer
{Delphi, Lazarus, PHP}, SQL, FastReport
Xailer, Fivewin, Hwgui, Harbour, Clipper, ADVPL
Freelance, Developments
Leledumbo
Hero Member
Posts: 8790
Programming + Glam Metal + Tae Kwon Do = Me
Re: Save/Load Forms RunTime ?
«
Reply #5 on:
April 19, 2010, 06:10:06 am »
Try our holy
wiki
.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Eric.Developer
New Member
Posts: 14
Re: Save/Load Forms RunTime ?
«
Reply #6 on:
April 24, 2010, 05:02:26 pm »
thankful for the answer
didn't I still try, please, could it exemplify? load file xml
1 form with 2 edit + 2 buttons (to close the window)
there is also:
http://wiki.freepascal.org/Pascal_Script
which will the simplest be of using?
Quote from: Leledumbo on April 19, 2010, 06:10:06 am
Try our holy
wiki
.
«
Last Edit: April 24, 2010, 05:36:39 pm by Eric.Developer
»
Logged
Eric Developer
{Delphi, Lazarus, PHP}, SQL, FastReport
Xailer, Fivewin, Hwgui, Harbour, Clipper, ADVPL
Freelance, Developments
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Save/Load Forms RunTime ?
TinyPortal
© 2005-2018