Jump to content

Freezer

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

467 profile views

Freezer's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. MainModule have Background property, and loaded image is showing in Tile style. I want to do same with Form. I try to use UniImage with align alClient, but UniImage haven't possibility to show image with Tile style. Someone have ideas how to solve it?
  2. Farshad, I tried to do without your help, but I can not. That's all I was able to generate through RTTI: objdef_UniGui_fs.zip To continue the work I need the source code like this: UniSource.zip (generated through RTTI) (Setters, Geters and Uses was added specially for my generator and is not real) objdef_UniGui_fs.zip UniSource.zip
  3. If you don't want to wait a bugfix: easy way to solve it - open your Query OnFormCreate, or OnFormShow)).
  4. Hi, In project i use FastScript. Forms and algorithm are stored in DataBase. I want to use the same model with UniGUI, but have some problems. For using UniComponents from script i need to describe all(or mostly) public and published properties and functions of UniGui types. Without source code it's very hard process. Can you share source code with me? Not all, only interface part of "*.pas" files. You may cut all implementation and uses parts, private and protected procedures and functions. I can generate FastScriptRTTI component from it and share with you. If you can't send me code, please, make FastScriptRTTI component by yourself and add it to your framework. TestApp.zip - demo project of UniGUI and FastScript. To edit record, program creating UniForm from "test.dfm" file and attach script to it. If you click on the form, you can see result of working script. I implemented support of UniForm.ShowMessage; P.S. Supporting of FastScript is very important for my project. I am waiting for your answer.Thanks
  5. In your test project you have some mistakes. Registring of classes must be in format: Script.AddClass(TNewClass, 'TNewClassParentClass'); !!! In your project you wrote: Script.AddClass(TUniButton,'TUniButton'); It's mean: TUniButton is ParentClass of TUniButton.!!! Must be: Script.AddClass(TUniBaseControl,'TWinControl'); ..... Script.AddClass(TUniCustomButton,'TUniBaseButton'); Script.AddClass(TUniButton,'TUniCustomButton'); If you want use all properties in FastScript you must register all ParentClasses in the correct order. If script don't know parent of class, it thinks parentClass is TObject
  6. Hallo! I want to edit data of dynamically created dataset in ModalForm, but i have some problems. steps: 1. In modal form("Form2") i put DBEditing components assigned to datasource component(Datasource1). 2. Before showing i create my dataset(MyDataset) and assign Form2.DataSource1 to it. 3. Call ShowModal Form2. 4. In callback function i analize result and rollback or commit changes. 5. After closing Form2 (only in web mode) raise exception somesing like: "Ajax error! OE7 is not defined O90.retfalse.beforeclose=0;O90.close();OE7.setReadOnly(false);" What am I doing wrong?
×
×
  • Create New...