Jump to content

Lena

uniGUI Subscriber
  • Posts

    231
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Lena

  1. Hi.

    In Login form:

    ScreenMask->Target=UniLoginForm1

    ScreenMask->WaitData=true

    ScreenMask->Messsage=Wait

    ScreenMask->ShowMessage=true

     

    When I press button I see ScreenMask message Wait then Main form open. All fine.

    Now I want when user fill password and press key Enter also see ScreenMask message Wait then Main form open.

    When I try this code Main form open but no ScreenMask message Wait.

    How to correctly do it?

    Thanks.

    void __fastcall TUniLoginForm1::UniEditPasswordKeyUp(TObject *Sender, WORD &Key, TShiftState Shift)
    {
     if(Key == VK_RETURN)
      {
       UniBitBtnEnterClick(this);
      }
    }
    
  2. I more detailed examined the issue.

    I installed the version 1206, and then in 1207.
    The problem appeared again in my project in 1206, and 1207 versions.
    I think the problem when the database graph gets a lot of data.

  3. Hi.

    In 1209:

    №1. In version 1209 not disappeared bottom axis of the graph after clear data.

    №2. When project start sometimes, instead of the axis I see the little arrow. But it is not big problem.

     

    №1 is a big problem. It looks deformed.

  4. Thank you very much, everything is fine!
    One additional question:

    When I start the app, sometimes, instead of the axis I see the little arrow. What does it mean this arrow?

    How to remove and show the axis of the graph?

    Thank you.

    post-32-0-93116300-1443536910_thumb.jpg

  5. Hi.

    Thank you.

    It’s working but sometimes when I click in empty area a see this error.

    //OnClick event UniDBLookupListBox
    void __fastcall TUniFormSeachGrSuper::UniDBLookupListBoxSechRoomsSuperClick(TObject *Sender)
    
    {
     try
       {
    
    
     Variant check = UniDBLookupListBoxSechRoomsSuper->KeyValue;
     if(check.IsNull() == true || UniDBLookupListBoxSechRoomsSuper->ItemIndex == -1)
      {
    	
    	//MainForm()->UniDBLookupComboBoxGraphicOrg->ItemIndex = - 1;
    	MainForm()->UniDBLookupComboBoxGraohicRoom->KeyValue = - 1;
    	MainForm()->UniDBLookupComboBoxGraphicSensor->KeyValue = - 1;
    	UniDBLookupListBoxSechDatSuper->KeyValue = - 1;
    	UniDBLookupListBoxSechDatSuper->ListSource = NULL;
    
      }
     else
    	{
    
    	 
    	 MainForm()->UniDBLookupComboBoxGraohicRoom->KeyValue = -1;
    	 MainForm()->UniDBLookupComboBoxGraohicRoom->KeyValue =
    		UniDBLookupListBoxSechRoomsSuper->KeyValue;
    
         
    	 UniDBLookupListBoxSechDatSuper->KeyValue = - 1;
    
    	 
    	 MainForm()->UniDBLookupComboBoxGraohicRoomCloseUp(0);
    	 UniDBLookupListBoxSechDatSuper->ListSource =
    		UniMainModule()->DataSourceSelectDatZaPeriod;
    
    
    	}
      }
      catch (const Exception &E)
    		{
    		 String mis = L"Error: " + E.ClassName() + L" Message: " +  E.Message;
    		 ShowMessage(mis);
    		}
    
    }
    

    post-32-0-19589500-1442910025_thumb.jpg

×
×
  • Create New...