Jump to content

stas

uniGUI Subscriber
  • Posts

    489
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by stas

  1. Добрый вечер, какая версия унигуи ?

    Причем даже без проверки видны ошибки в синтаксисе .

    Это точно правильно ?

    scaleControl: true;  draggable: true; navigationControl: true

  2. public
        property Checked[index:Integer]:boolean; //  Set Get Checked Item
        property Disabled[index:Integer]:boolean //  Set Get Disabled Item
      published
        property DisplayMode:TListDisplayMode; // Display Names or Values or Both of StringList
        property CheckBoxes:boolean // Show CheckBoxes
        property DisClosure:boolean // Show Disclosure 
        property Group:boolean  // When Group=true and DisplayMode=Name  then Grouped By Values else when DisplayMode=Values then Grouped  by Names
        property OnCheck:TItemEvent // On CheckBox tap
        property OnDisclose:TItemEvent //On Disclose Tap
      End;

     

    post-19-0-89514600-1416033991_thumb.jpg

    listbox.zip

    • Upvote 2
  3. Hello 

    How to unset config property

    For Example 

    procedure TMyContainer.LoadCompleted;

    begin

    inherited;

    JsCode('width:undefined');

    end;

     

    But in generated  code  a see

    O35=new Ext.MyContainer({width:undefined,width:200});

     

    Where in my component I write JsCode('width:undefined');

    Thank you

     

     

  4. Hello

     

    http://db.kontora.ua/web/leaflet.dll/m/

    Solution

    UniServerModule.CustomFiles

     

    MainMForm.ClientEvents.ExtEvents

     

    function painted(sender, eOpts)
    {
     sender.setHtml('<div id="map" style="width:'+sender.getWidth()+'px; height:'+sender.getHeight()+'px"></div>');
    map = L.map('map').setView([51.505, -0.09], 13);
      attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
    }).addTo(map);
    }

     

    post-19-0-46376800-1415412388_thumb.jpg

    • Upvote 2
  5. Hello,

    I'm create sample component 

    with

    JSObjects.DefaultJSClassName:='Ext.ux.sample.component'

    and published property ClientEvents;

     

    In Design-time, when i call

    ClientEvents.ExtEvents, i get error

    "Resource EXTJS_EXT_UX_SAMPLE_COMPONENT not found"

    When I create resource UniSample.res

    with resource EXTJS_EXT_UX_SAMPLE_COMPONENT

    and attach this resource to uniGUI[XX]dcl.dpk 

    design-mode work fine, but it is wrong.

     

    What should I do ?

    Thanks

     

    P.s UniGui 0.96.0.1068

     

     

     

     

     

     

     

     

     

×
×
  • Create New...