Jump to content

vbdavie

uniGUI Subscriber
  • Posts

    143
  • Joined

  • Last visited

  • Days Won

    4

vbdavie last won the day on May 30 2017

vbdavie had the most liked content!

Recent Profile Visitors

818 profile views

vbdavie's Achievements

Active Member

Active Member (3/4)

1

Reputation

  1. i already fo that since many years. davie
  2. 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
  3. 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
  4. HUH, so you are saying that a much older version of UIniGUI DID support the OnCloseQuery ? Too bad they removed a valuable feature. DAvie
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
×
×
  • Create New...