Jump to content

vbdavie

uniGUI Subscriber
  • Posts

    178
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by vbdavie

  1. THis doesn't work for me. I set the Action:=caNone; And the form STILL CLOSES. Do you have an example demo to show how to do it properly? BTW: I am using formname.ShowModal; to display the form. Thanks DAvie
  2. Does NOT work for me. the line of code that contains the ShowModal method (blocking until form closes) falls down to the next line of code even when I use the caNone. If the form truely didn't close, then it shouldn't continue execution after the ShowModal line of code... right? Davie
  3. HUH, so you are saying that a much older version of UIniGUI DID support the OnCloseQuery ? Too bad they removed a valuable feature. DAvie
  4. I don't see any OnCloseQuery in the UNIGUI system for TuniForm, unless I'm missing something;. I think it's in the VCL, but not the UNIGUI. Right? DAvie
  5. Did anybody reply to you in another thread? Because I don't see any answer in this thread. I am wanting the same thing. IE: To be able to STOP the form from closing... 1. Client side keeps form displayed 2. Server side does NOT continue execution to the line after the ShowModal line of code. Thanks Davie
  6. Any solution for changing the font size at run-time? Using the addlistener works great if you will NEVER change the font size during the execution of the program. But what if I want a ZOOM button so that the user can increase the font size each time they click the zoom button? My font gets bigger and bigger BUT they start to do the overlapping lines issue. Thanks DAvie
  7. I don't know if your issue is resolved, but I can say that I just posted a support question that is related. When I use the unimDBGrid and colorize anything (background, font, or font style) then certain browsers will NOT display things properly. The text gets cut off to just a few pixels and the columns all shift to the left. NOTE: When I use the uniDBGrid and colorize, everything is perfect. It's just the MOBILE version of the control that messes up. Hopefully they will get to the bottom of it and it will solve YOUR problem too. I hope it's not a SENCHA thing, because who knows how long it will take them to fix. Davie
  8. No. Maybe I don't understand the diff between the unigui stringgrid and the VCL stringgrid. With the VCL stringgrid, I can create a list of rows with data in them AND I can create a column header with column names. And when I scroll the list, the column names don't scroll(1 fixed row). And when a row is NOT selected, the row will not have the selected color. Is this possible with unigui string grid? Davie
  9. Here ya go. I attached a zip file for the project. When u run it, look at the grid in the upper left corner. Thanks Davie Grid_Demo.zip
  10. Just use my properties that I included. Copy/Paste it into any form with any theme. Run it in IDE or as an IIS server dll. They all react the same way. That first data line is in a different color. object UniStringGrid3: TUniStringGrid Left = 8 Top = 144 Width = 185 Height = 105 Hint = '' FixedCols = 0 RowCount = 3 ColCount = 3 DefaultRowHeight = 18 Options = [goVertLine, goHorzLine] ShowColumnTitles = True Columns = < item Title.Caption = 'ol1' end item Title.Caption = 'col2' end item Title.Caption = 'col3' end> BorderStyle = ubsOutset TabOrder = 11 end NOTE: I tried to look at the UniGUI demos and couldn't find any TuniStringGrid demo that had a grid with the first column NOT fixed. Davie
  11. Here's an attached screen shot of my stringgrid. The first data row(under the column headers) is always highlighted no matter where I click on the grid. Is this expected behavior? Here is my StringGrid properties object UniStringGrid3: TUniStringGrid Left = 8 Top = 144 Width = 185 Height = 105 Hint = '' FixedCols = 0 RowCount = 3 ColCount = 3 DefaultRowHeight = 18 Options = [goVertLine, goHorzLine] ShowColumnTitles = True Columns = < item Title.Caption = 'ol1' end item Title.Caption = 'col2' end item Title.Caption = 'col3' end> BorderStyle = ubsOutset TabOrder = 11 end Thanks Davie bug_Chart_Highlight.bmp
  12. Yeah, after I sent it, I was staring at the properties again and noticed that one "SelectOnFocus". Sorry for my ignorance. But what if there was no such property, OR I had the server-side doing something more complex... like maybe forcing alternating case of the field. So mypassword would become MyPaSsWoRd Since there's no simple property for that, how would I go about synching the server-side and the client-side so that the user can't enter text UNTIL the server-side event is completed. Thanks bunches DAvie
  13. Okay. So how do I do a client-side event for when the edit control is "entered"? I need that function to select all of the text in the field. Thanks Davie
  14. This is a little complicated to explain. But I'm sure you'll get the idea once you think about it for a minute or so. Imagine two TuniEdit fields on a form (like a login screen). And imagine the 2nd field (password) has it's contents selected when the cursor is placed inside of it. That way if it contained old text, it would be selected so that as you start to type, the older contents are essentially removed. Okay. This seems like a normal thing to do. Now, let's break this down... 1. The TuniEdit field has an OnEnter event. This event occurs on the Server-Side. Right? 2. As the user types, that is Client-Side. Right? Everything so far is obvious and makes sense I think. Here's the issue. I type stuff in the username field (fine) I press tab to move to the password field (fine) The Server-Side code starts to select all the text (fine) The Server-Side code finishes selecting all the text (fine) I type in my password (fine) Okay, that's how it's supposed to work and it does... MOST of the time. Now, let's pretend that you are on a SLOW server where the server-side code executes slowly. Here's what happens. I type stuff in the username field (fine) I press tab to move to the password field (fine) The Server-Side code starts to select all the text (fine) I type in my password real fast The Server-Side code finishes selecting all the text (fine) Now my password has the first few characters removed (NOT FINE) So what's happening is that the moment my cursor is tabbed into the password field, a server-side code starts to execute WHILE I AM TYPING in the browser. So after I get done typing about 2 or 3 characters, I see those characters get HIGHLIGHTED. lololol Because it took about 100ms to do the server-side code which says to field.SelectAll. So as I am in the middle of typing, I suddenly see my text highlighted and then whatever was highlighted gets removed as I continue typing. hehehehehe I hope you see the situation. The client-side operates at full speed WITHOUT regard for the server-side code that is executing. I know I must be ignorant on something. Can you help me please? Thanks DAvie
  15. I'm having the same issue in 2020. Is there any solution to this? Davie
  16. Since the TuniImageList wasn't properly picking the background color, I decided to look at some of the docs. It said the TuniImageList was DEPRICATED and to use the TuniNativeImageList. It said it was the best alternate to TImageList. So I plopped it onto a form and noticed that I could not load up my image list file. My file contains about 150 icons/images that are 24x24. When I loaded my file, it didn't auto-create the 150 images. It just made it ONE image. Am I doing something wrong? I will attach the imagelist bmp file to this message. Btw, I don't see much documentation on the TuniNativeImageList. Thanks Davie ICONS_24x24_New.bmp
  17. It turns out that the INNO setup program, that produces the FMSoft EXE files, no longer supports XP. So i made use of their OLDER version of INNO soft's setup program. (Version 5.6.1) I looked for an INNO extractor tool and found one by HAVY soft at... http://www.havysoft.cl/innoextractor.html This allowed me to extract the files into a folder. I then installed and ran it. I chose your FMSoft_uniGUI_Complete_Professional_1.90.0.1537_Trial.EXE file and then EXTRACTED the files to a temp folder that I created. Then I downloaded the INNO SETUP version 5.6.1 innosetup-5.6.1.exe I then installed and ran it. I then loaded the ISS file from the extraction folder from the previous step... install_script.iss Then I removed the first 3 characters at the top of the script file. They were garbage since it's not UNICODE. THEN I changed all references to 0.0,6.0; to 0.0,5.0; Then I COMPILED the script to produce the output EXE installer program that would be used to install the FMSoft software. I then used THAT output EXE program to do the normal installation and it worked 😍 Davie
  18. It turns out that the INNO setup program, that produces the FMSoft EXE files, no longer supports XP. So made use of their OLDER version of INNO soft's setup program. I looked for an INNO extractor tool and found one by HAVY soft at... http://www.havysoft.cl/innoextractor.html This allowed me to extract the files into a folder. I then installed and ran it. I chose your FMSoft_uniGUI_Complete_Professional_1.90.0.1537_Trial.EXE file and then EXTRACTED the files to a temp folder that I created. Then I downloaded the INNO SETUP version 5.6.1 innosetup-5.6.1.exe I then installed and ran it. I then loaded the ISS file from the extraction folder from the previous step... install_script.iss Then I removed the first 3 characters at the top of the script file. They were garbage since it's not UNICODE. THEN I changed all references to 0.0,6.0; to 0.0,5.0; Then I COMPILED the script to produce the output EXE installer program that would be used to install the FMSoft software. I then used THAT output EXE program to do the normal installation and it worked 😍 Davie
  19. I downloaded the latest trial version FMSoft_uniGUI_Complete_Professional_1.90.0.1537_Trial.exe And when I dbl-click to run it, I get an error message indicating that it's "not a valid win32 application" The prior version of 1.90.0.1520 back in March 2020 worked just fine. I am running on an XP SP3 machine. An interesting thing is that I downloaded it on one of my Windows 2008R2 servers and it installed just fine. And I looked at the task manager and it was running as a 32bit application. So I thought maybe my XP download was corrupted. So I COPIED the exe that worked on the windows server over to my XP macine and the files compared identical and it, still, did not run on the xp machine. Did you change some settings in the Inno setup program that you use to build the install setup EXE program? What can I do to maybe extract out everything that's inside the setup exe so that I can run the setup, from some kind of extraction folder. Look'n for ideas. Thanks Davie
  20. I downloaded the latest trial version FMSoft_uniGUI_Complete_Professional_1.90.0.1535_Trial.exe And when I dbl-click to run it, I get an error message indicating that it's "not a valid win32 application" The prior version of 1.90.0.1520 back in March 2020 worked just fine. I am running on an XP SP3 machine. An interesting thing is that I downloaded it on one of my Windows 2008R2 servers and it installed just fine. And I looked at the task manager and it was running as a 32bit application. So I thought maybe my XP download was corrupted. So I COPIED the exe that worked on the windows server over to my XP macine and the files compared identical and it, still, did not run on the xp machine. Did you change some settings in the Inno setup program that you use to build the install program? What can I do to maybe extract out everything that's inside the setup exe so that I can run the setup, from some kind of extraction folder. Look'n for ideas. Thanks Davie
  21. I've downloaded the latest version (march 2019) of the UNIGUI. And recompiled a mobile app that had worked on mobile phones. Now the screen layout is huge. It's about 2X taller and 2X wider than before. So now the whole form can't be fully displayed. You only get a portion of the form on the mobile screen. For example, the titlebutton that shows the cool power off icon is gigantic. I looked at the mainmodule.MobileViewPort (initialScale and MaximumScale) properties. They were set to "2". I changed them to "1". Still no difference in the large (zoomed) display on the screen. Is there something that I can do to make it fit again? The prior version that worked was from 2017, if that gives any clues. I don't have a website that I can insert a "link" as a screenshot . Sorry. Thanks Davie
  22. I've spent some time looking for a way to get a list of sessions from the servermodule or mainmodule and can't seem to find anything. I want to be able to see a list of users that are using the app. So, if 10 people are on-line, then I should be able to see all 10 of their session instances. Some kind of instance array. Once I have this, I am hoping that I can issue some sort of "LogOut" method to KILL a specific user. Is this possible? Thanks Davie
  23. I feel dumb here. I downloaded the FMSoft_uniGUI_Complete_Professional_1.70.0.1493_Trial.exe after 18 month gap and noticed that the new look & feel is very different. My app used to have vibrant blue rounded buttons and red power-off icons that looked cool. Now they are ... 1. Rectangular and solid color 2. And in the grids where I could drag my mouse up and down to scroll the list up and down, then drag scrolling doesn't work anymore. I went to the online demo and it looks/works as expected(cool) and the dragging worked as expected. I compiled the new demos and ran them and they TOO are not draggable to scroll the grid list and the buttons don't look as cool. Is there some new property that I need to set in order to get that look/feel back again? Or did sencha remove the "coolness" from the OEM version? Something has changed and I don't know how to get it back. Thanks Davie
  24. I like the look and feel of the mobile stuff. I would like a little extra space vertically. And as such, I am trying to figure out how to.... Make browser tool bar at the top invisible. For example: On Android phone, I see the chrome tool bar with the URL etc... Dynamically set ShowTitle to FALSE so that I don't lose that quarter of an inch at the top with the dark blue bar.... In landscape mode this is important. Less important in portrait mode. Change some kind of scaling property so that my whole screen is smaller (smaller font, smaller graphics etc... just like changing resolution of your desktop). Change the row height or column header height of a unimDBGrid I have explored #4 by using all kinds of EXTevents and UNIevents and placing code in the onCreate method etc.. No luck of any kind. I would imagine that this is a popular question. I don't even mind if it's as crude as chaning the whole display resolution. IE: The whole screen is affected, as opposed to just a particular control. I just need a few more rows of display space. I am using version 1.0.0.1385 Thanks Davie
  25. Hello; I would like to change the HEIGHT of the unimDBGrid in both the header and the data rtows. I've seen several posts here that are older and looked like they may have promise to work, but I couldn't get any of them to work. Here's a snippet that I thought might work, but didn't. Hi Hank. One of the solutions, try: UniDBGrid1 -> ClientEvents -> ExtEvents ... add the afterrender function function afterrender(sender, eOpts) { sender.getEl().select('.x-progress-text').each(function (el) {el.setStyle("font-size", "14px")}) } Sincerely. The post indicated to add a "afterrenderter" function. I couldn't find the "afterrender" in the list, when I opened unimDBGrid1 -> ClientEvents -> ExtEvents in the properties window. Is there a way to do this? In particular, I am interested in doing this for the MOBILE DBGrid. I'm probably misunderstanding something. The reason I want smaller text is so that I can have more rows displayed on the phone. As a side-note, I don't even care if the font is smaller as long as I can get the row height smaller. The text actually is small enough. There's just way too much empy space above and below the text, within each row. Thanks in advance Davie
×
×
  • Create New...