none
Click On The Button F1 and to appear the message in the textbox RRS feed

  • Question

  • Hello everyone, I apologize for my English, I'm using google translator,
    After creating this interface, see in the picture, now I wanted to know if it was possible, according to the textbox where I am, bring up a standard message by clicking on the button F1.
    For example in the Description column, if I am in the first textbox of the settler and then I click f1 in the textbox I get the message, but if I find myself in the second textbox column description then the message appears only in the textbox and so on.
    I hope you get the idea

    T.U.

    Thursday, September 3, 2015 3:00 PM

Answers

  • Hi Carmenello, the translator works well.

    Looks like you'll need an extension for this.

    Using Litdev extension:

    GraphicsWindow.Show()
    For i = 1 To 3
      txtBox[i] = Controls.AddTextBox((i-1) * (190 + 10) + 10, 10)   
    EndFor
    GraphicsWindow.Width = (i-1) * (190 + 10) + 10
    
    GraphicsWindow.KeyDown = OnKeyDown
    
    While 0=0 
      If lastKey = "F1" And Controls.GetTextBoxText(LDFocus.GetFocus()) = "" Then   
        Controls.SetTextBoxText(LDFocus.GetFocus(), "details")
        
        lastKey = ""
      EndIf
      
    EndWhile
    
    Sub OnKeyDown
      lastKey = GraphicsWindow.LastKey
    EndSub


    Friday, September 4, 2015 12:24 AM
    Moderator

All replies

  • Hi Carmenello, the translator works well.

    Looks like you'll need an extension for this.

    Using Litdev extension:

    GraphicsWindow.Show()
    For i = 1 To 3
      txtBox[i] = Controls.AddTextBox((i-1) * (190 + 10) + 10, 10)   
    EndFor
    GraphicsWindow.Width = (i-1) * (190 + 10) + 10
    
    GraphicsWindow.KeyDown = OnKeyDown
    
    While 0=0 
      If lastKey = "F1" And Controls.GetTextBoxText(LDFocus.GetFocus()) = "" Then   
        Controls.SetTextBoxText(LDFocus.GetFocus(), "details")
        
        lastKey = ""
      EndIf
      
    EndWhile
    
    Sub OnKeyDown
      lastKey = GraphicsWindow.LastKey
    EndSub


    Friday, September 4, 2015 12:24 AM
    Moderator
  • thank you so much you have been of great help
    Friday, September 4, 2015 7:31 AM