Jump to content

dkeene

uniGUI Subscriber
  • Posts

    211
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by dkeene

  1. Does anyone have any suggestions here? It seems like a pretty simple task. I have a form that takes a long time to load. I would like a screen mask to show during that time.

  2. Hello All

    I have a unigui application that works nicely but on occasion the unigui page showing in the browser becomes frozen and not responsive to clicks. No errors show in Delphi. I know it's a broad question but is there a way to diagnose this problem? I am not very familiar with Chrome diagnostic tools, so any help would be appreciated. 

    Thank you.

    • Like 1
  3. Hello

    I am creating forms at runtime from a main form. Some of the forms may take a while to show, and I am trying to make a screenmask to show on the launching form that shows when user clicks the button to launch the form and stop showing when the form is shown.

    uniSpeedButton is clicked:
    
                         try
                            MyfmTableEdit:=TfmTableEdit.Create(uniApplication);
                            //this takes a while
                            
                            //SHOW SCREEN MASK with message like 'please wait while processing...';
                            
                            MyfmTableEdit.ShowModal;  //AND HIDE SCREEN MASK
                         finally
    
                         end;

    I checked the demos and didn't understand how to apply here... Any thoughts??

    Thanks

    Doug

  4. Hi

    I use comboboxes and I assign a font to the edit box part of the control. How can you (using delphi) make the dropdown box use the same font as the edit box?

    I prefer not to use css and js 

    thanks

    Doug

  5. Hi

    I am using unidbcombobox and am trying to populate the dropdown list via RemoteQuery.

    for some reason that I have not been able to explain or fix, I get an error when closing the form:

       project raised exception class EStringListError with message 'List index out of bounds (0)'

    This seems to happen ONLY when the result (TStrings) has been populated during the remotequery event, i.e., the result dropdown has string items in it.

    I have tried using unidbcombobox.mode= umNameOnly and umNameValue

    I tried deleting the strings

             while TUniDBComboBox(aComponent).Items.Count>0 do
             begin
                TUniDBComboBox(aComponent).Items.Delete(0);
             end;

    but this gives the same error: list index out of bounds (0).

    Any thoughts?
    Thank you

    Doug

  6. Perhaps one could use the form's ActiveControl property, but I try during the 

    procedure TForm.DBComboboxRemoteQuery(const QueryString: string; result: TStrings);

    begin

       if self.ActiveControl is UniDBCombobox then
          begin
             ....do something

          end;

     

    end

     

    Despite the control that triggers this event, Self.ActiveControl is nil...

    Any thoughts?>

    Doug

  7. Hello

    I am trying to use RemoteQuery on a DBComboBox to build a query based on the value of the DBComboBox's textbox as a user types some keys.

    Instead of using the event: DBComboBox.OnChange(Sender: TObject) to process the request, i will set property RemoteQuery to True, and  will now use

    uniDBComboBoxRemoteQuery(const QueryString: string; Result: TStrings); to grab the value of QueryString and build an SQL statement.

    However, unlike OnChange(Sender: TObject), now I don't have any knowledge of which control is triggering this event. Is there any way of grabbing the sender of this event and why is it not included in as something like

    DBComboBoRemoteQuery(Sender: TObject; const QueryString: string; Result: TStrings);

    Please help

    Thanks

    Doug

×
×
  • Create New...