Jump to content


Photo

Ext.view.Table TUniDBGrid


  • Please log in to reply
6 replies to this topic

#1 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 60 posts

Posted 21 November 2017 - 02:59 PM

Merhaba,

 

 

ExtJS.RES dosyasından örneğin gridin hangi eventları olduğunu listelemek istiyorum. 

 

UniDBGrid1.JSControl.JSClassName metodunu buldum ama ondan da sonuç  "Ext.Component' olarak çıkıyor.

 

Sanıyorum resource dosyasındaki karşılığı Ext.view.Table gibi birşey.

 

Yani objelerin resource dosyasında tanımlı olan adlarına nereden ulaşabilirim ?

 

Teşekkürler.


  • 0

#2 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 705 posts
  • LocationKufur Kassem, Palestine

Posted 21 November 2017 - 03:23 PM

See this: http://docs.sencha.com/extjs/4.2.2/


  • 0

#3 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 60 posts

Posted 22 November 2017 - 05:36 AM

I think you wrong understood. Thanks anyway.


  • 0

#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3885 posts

Posted 22 November 2017 - 06:32 AM

Hi,

Sorry, what did you want?
  • 0

#5 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 60 posts

Posted 22 November 2017 - 12:13 PM

I am reading ExtJS.res file. How can I get used definition name of each TuniFormControls in res file for find to event names of controls. 

 

 

 

post-5660-0-02357700-1511270657.png


  • 0

#6 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9947 posts

Posted 23 November 2017 - 11:00 AM

procedure TMainForm.UniButton2Click(Sender: TObject);
var
  J : TJSObjectList;
  I : Integer;
  S : string;
begin
  J := (UniChart1 as IUniJSObjects).JSObjects;
  S := J.DefaultJSClassName + ':';
  for I := 0 to J.Count - 1 do
    S := S + ', ' + J.ValueFromIndex[I];
  ShowMessage(S);
end;


  • 0

#7 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 60 posts

Posted 27 November 2017 - 07:36 AM

Çok teşekkürler.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users