Jump to content
uniGUI Discussion Forums

belo

uniGUI Subscriber
  • Content Count

    145
  • Joined

  • Last visited

  • Days Won

    3

belo last won the day on June 9 2013

belo had the most liked content!

Community Reputation

15 Good

About belo

  • Rank
    Active Member

Contact Methods

  • MSN
    belo@elogica.com.br

Profile Information

  • Gender
    Male
  • Location
    Brazil
  1. belo

    Leaflet OpenStreetMaps Example

    Congratulations!
  2. belo

    How to have a tip at the point you click?

    maybe this will help.. http://forums.unigui.com/index.php?/topic/6712-overflowing-text-grid-cell-tooltip/&do=findComment&comment=34164 UniDBGrid -> ClientEvents -> ExtEvents viewready fn function viewready(sender, eOpts) { var tm = new Ext.util.TextMetrics(); sender.view.tip = Ext.create('Ext.tip.ToolTip', { target: sender.view.el, delegate: sender.view.cellSelector, trackMouse: true, renderTo: Ext.getBody(), listeners: { beforeshow: function updateTipBody(tip) { gridColums = sender.view.getGridColumns(); column = gridColums[tip.triggerElement.cellIndex]; record = sender.view.getRecord(tip.triggerElement.parentNode); if (column.dataIndex !== '-1' && (column.getWidth() < (tm.getSize(record.data[parseInt(column.dataIndex)]).width) + 5)) { tip.update(record.data[parseInt(column.dataIndex)]); } else { return false; } } } }); }
  3. belo

    I wish UniMemo has MaxLength propertity

    function beforeInit(sender, config) { config.enforceMaxLength = true; config.maxLength = 5; }
  4. Tip of http://forums.unigui.com/index.php?/topic/1149-cell-grid-position/ Try This In UniDBGrid > ExtEvents > Ext.grid.Panel function cellmousedown(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { var c = Ext.get(td).getXY(); ajaxRequest(this, 'CellXY', ['x='+c[0], 'y='+c[1]]); } In VCL... private { Private declarations } ColIndex, RowIndex: Integer; public { Public declarations } end; implementation {$R *.dfm} uses MainModule; procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'CellXY' then begin ColIndex := Params['x'].AsInteger; RowIndex := Params['y'].AsInteger end; end; procedure TMainForm.UniDBGrid1CellClick(Column: TUniDBGridColumn); begin UniPopupMenu1.Popup(ColIndex + Column.Width, RowIndex); end; Best regards, Eduardo Belo
  5. belo

    How to set focus to an uniEdit

    procedure TUniFrame1.UniFrameCreate(Sender: TObject); begin UniEdit1.SetFocus; end;
  6. Talvez uma das alternativas seria utilizar o POST_EVENTS do Firebird.
  7. belo

    Grid inside Grid it's possible !

    Excellent Mohammad, congratulations!
  8. No browser works (FF, Chrome, Explorer, Opera, etc.). button 2 and 3 does not work with enter.
  9. Why on receiving the focus, does the button with the bootstrap class not work with the OnClick event when giving the enter? Only works with mouse click. Any solution? UniGUI Version 1423 TestCase_UniGUIBootStrapButton.rar
  10. belo

    Unigui guide - pdf vs Live video conference

    Hi Mohammad PDF is the best option, if possible with attached examples. Thank you for your great help.
  11. belo

    Basic layouts

    Excellent. Thank You.
  12. belo

    swal is not defined

    Add the uniSFJS folder to the uniGUI version folder C:\Program Files (x86)\FMSoft\Framework\uniGUI\uni-1.0.0.1413\uniSFJS
  13. belo

    Change the font and color of the line in dbgrid

    procedure TMainForm.UniDBGrid1DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs); begin if UniDBGrid1.DataSource.DataSet['Name'] = 'Brazil' then begin Attribs.Font.Color := clBlack; Attribs.Font.Style := [fsBold]; Attribs.Color := RGB(255, 231, 147); end; end;
  14. belo

    ComboBox multi select - pure extjs

    Congratulations, great job.
×