Jump to content

wsv01

uniGUI Subscriber
  • Posts

    58
  • Joined

  • Last visited

Recent Profile Visitors

1549 profile views

wsv01's Achievements

Member

Member (2/4)

2

Reputation

  1. Thanks so much for the run-time solution. That works as expected, however, when I have a character such as "y", the bottom part of the "y" is cut off as shown in the attached image. Is there any way to get this resolved? ColumnHeaderResult2.bmp
  2. I know there are lots of different solutions to this topic of which I have tried some, however, I am not able to achieve even setting the column header (not the title height) at design time and have it reflect that height at run-time. I attached a screenshot of the TitleFont section at design time and when you change the font from 8 to 16, the grid reflects the change at design-time but the column header height is unchanged and the header text is cut off as shown in the 2nd attachment. Is there is a way to change the height on each uniDBgrid column header and/or the height for all uniDBGrids in an application? If so, you will need to supply some sort of example as to exactly where to place the code as I am not familiar with CSS or where to place other code in the ExtEvents or UniEvents properties. The ultimate goal would be to change the height at run-time. Thanks in advance. HeightInDesign.bmp ColumnHeaderResult.bmp
  3. Let me ask this... If I click a button that opens a new form, can that form be opened in a new browser tab? If so, can someone please give me an example?
  4. Sure, Attached are three images showing how I am trying to get this to work.
  5. I have an issue with displaying a PDF generated with Digital Metaphors report writer. Report writer allows you to attach a simple URL link to a field on the report. It works if the URL is something like this https://www.google.com/. That is a wonderful thing, however, if I want to open the link in a new browser tab, I cannot figure out how to do it. I know there is the a feature that will force a new tab that looks something like this. <a href="https://www.freecodecamp.org/" target="_blank"></a>. That will not work when it is placed in the report writer URL property. There is another feature that report writer has called an OnDrawCommandClick property that can be leveraged to do almost anything, but when the PDF is presented using the PDF viewer control supplied by UniGUI it is not clickable as it is in a VCL application. Has anyone used report writer to generate a PDF and had this problem? I sure would like to know how to overcome this issue.
  6. So glad you figured it out. I will have to remember how you did this.
  7. I found my answer in the UniCalendarPanel.OnEventMove and UniCalendarPanel.OnEventResize. I can use those events to update my underlying database. I should have looked a little deeper before asking a dumb question.
  8. Sorry, I tried all I could to get this to work. Maybe someone can help with JavaScript. I saw something like this in another thread. It looks like it would set focus to another field, but that is not what you are looking for. I'm wondering if something similar could be done by emulating a tab key press. if EventName='CarriageReturn' then UniEdit2.JSInterface.JSCall('focus',[]); Here is a link that talks about the same feature but with java script. Maybe someone can get this working for you. https://stackoverflow.com/questions/1009808/enter-key-press-behaves-like-a-tab-in-javascript
  9. If you are editing the MARGIN column and you press the Tab key, does focus more to the PRECO column? If so, does the Tab key kind of do what you want?
  10. Where are the hooks for updating a database when a user drags an event from one spot to another in the calendar?
  11. Thanks for the link. Is there anything to access the camera, address list, IMEI and other internals of the mobile device?
  12. I have been using UniGUI for a while now but have not purchased the touch option. Is it something to look into? Is it still supported? I cannot seem to find the documentation on the added features. Can someone point me in the right direction?
  13. I found another thread abut this topic and see that this works as well MimeTable.AddMimeType('msg', 'application/vnd.ms-outlook', False); I need to read up on MimeTypes I guess.
  14. I figured it out. In the ServerModule OnCreate event I had to add this line MimeTable.AddMimeType('msg','applications/msg'); Then I could download .msg files (Outlook email)
  15. I am having an issue trying to upload and download .msg files. It seems all other files like .docx, .jpg, .xls etc work as planned but when working with .msg files things do not go to plan. I have gotten .msg files to upload, but when using the syntax similar to this unisession.SendFile(<path_filename>); does nothing. It works for all other file types I have tried. I am not using Hyper Server at this time. The app is being developed in stand alone mode. Any suggestions?
×
×
  • Create New...