Jump to content

Search the Community

Showing results for tags 'SelectedRows'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello... I have a uniDBGrid with some selected items. I want to do a routine to execute only the items marked on the Grid. In normal Delphi it has the command: For I to DBGrid1.SelectedRows.Count - 1 then if DBGrid1.SelectedRows.CurrentRowSelected = True then showmessage('ok'); But I did not find similar in uniGui. how do I do? Can anyone help? Thank you Solved... procedure TFm_Form.btSaveClick(Sender: TObject); var I: Integer; B : TBookmark; varAtualiza : boolean; begin varAtualiza := False; if Gr_Grade.SelectedRows.Count > 0 then begin DataSet.DisableControls; B := DataSet.GetBookmark; for I := 0 to Gr_Grade.SelectedRows.Count - 1 do begin (works) varAtualiza := True; end; end; if varAtualiza = True then begin uniMainModule.SQLTempo.Close; uniMainModule.SQLTempo.CommandText := 'update pokayoke a set a.situation = 0 where a.id=:id'; uniMainModule.SQLTempo.params[0].AsInteger := 1; uniMainModule.SQLTempo.ExecSQL; end; DataSet.EnableControls; close; end;
×
×
  • Create New...