Jump to content
uniGUI Discussion Forums

Harry Rogers

uniGUI Subscriber
  • Content Count

    215
  • Joined

  • Last visited

  • Days Won

    5

Harry Rogers last won the day on August 15 2017

Harry Rogers had the most liked content!

Community Reputation

19 Good

About Harry Rogers

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Harry Rogers

    UniDbGrid Current page

    Thanks for that - Works perfectly. As always great support !
  2. Harry Rogers

    UniDbGrid Current page

    Thanks for the reply CurrPage = UniDBGrid1.DataSource.DataSet.RecNo div UniDBGrid1.WebOptions.PageSize + 1 That was my initial thought However my database returns the fixed natural order position with dataSet.Recno - not much use with filters and or indexes. I need currpage to enable the calculation of the 'effective Recno' .
  3. Harry Rogers

    UniDbGrid Current page

    Hi CurrRow returns the integer row number for the current page of a UniDbGrid and weboptions.PageSize gives the number of rows per page. How do I read the current page ? - so I can construct a record counter display. Thanks
  4. Harry Rogers

    How To Show Browser's Vertical Scrollbar?

    Setting a form's AutoScroll property to true for a form that is larger than the browser screen size produces scroll bars when the form is maximised but when the form is displayed as a window there are none.
  5. Harry Rogers

    How To Show Browser's Vertical Scrollbar?

    Just upgraded to build 1481 and vertical scroll bars are now not shown for forms that had them on build 1424. Didn't notice until I was running an app on a clients (1024x768) screen - only option I could find was to zoom browser view, which got me out of a hole but need a solution to this pretty quickly. Thanks FMSoft_uniGUI_Complete_Professional_1.50.0.1481 XE8 Enterprise
  6. Harry Rogers

    save Tuniimage picture

    Ok thanks - I'll carry on the way I was then. All the best
  7. Harry Rogers

    save Tuniimage picture

    Thanks for the rapid response Farshad The attached illustrates the issue. The uniimage gets its picture form a google api that draws a QR code. the savetofile method results in a zero length file. Many thanks TestImg.zip
  8. Harry Rogers

    save Tuniimage picture

    Hi Whats the way to save a png image file to disc from a Tuniimage that gets its image from a url? Dragging the image to the desktop from the browser creates a png file in the desktop directory yet the standard programmatic file and stream based methods just result in a zero length file. e.g. uniimage1.picture.savetofile('afile.png') uniimage1.picture.graphic.savetofile('afile.png') uniimage1.picture.bitmap.savetofile('afile.png') So far I've used an additional TidHttp to Get the data from the same url as the Tuniimage and write it to a filestream which works fine but it would be nice to just use the one resource if possible. Thanks
  9. Harry Rogers

    Module cannot be found in the current project

    I have recently had this for the first time. Don't ever remember seeing it previously in 20 plus years of Delphi use. Does appear to be related to adding a reference to a datasource on a different form.
  10. Harry Rogers

    Hide/show cell highlight in unidbgrid

    Thanks for the quick response - that's what I would have used with VCL but it did not appear to have any effect
  11. Harry Rogers

    Hide/show cell highlight in unidbgrid

    Hi In a Unidbgrid Is there a means to turn the cell highlight on and off at run time. I have a child grid that populates with the change of its parent. It should not have any cells shaded when first drawn but allow subsequent selections with the usual visual feedback of cell highlighting. Thanks
  12. Harry Rogers

    Hide today of TUnicalendar

    Many thanks, that works. Thought it had been mentioned before but couldn't find it. All the best
  13. Harry Rogers

    Hide today of TUnicalendar

    Hi I would like to show a calendar to allow a user to select a date that will always be in the past - it would be nice to not display the 'Today' button of a Unicalendar. Is there some js that can do this magic? Thanks
  14. Harry Rogers

    UniBDGrid Title Gridlines

    That works a treat - thank you
  15. Harry Rogers

    UniBDGrid Title Gridlines

    Hi Is it possible to hide the vertical grid lines for the titles of a UniDbGrid?. They look a bit incongruous when RowSelect is enabled and Vertical column lines are disabled for the grid body. Thanks
×