fgControls-Library

Discussion in 'Additional Libraries' started by Filippo, Nov 27, 2007.

  1. Filippo

    Filippo Expert Licensed User

    Hello,

    i have updated my library.

    The DLL with an example is included in the zip-file (fgControls_Example.zip)


    Ciao,
    Filippo
     
  2. specci48

    specci48 Well-Known Member Licensed User

    Hi Filippo,

    many thanks for the update of your library! :)

    Maybe it would be uselful to introduce a version number of your library (like agraham does for his countless and brilliant dll's :sign0060:) so we can always be sure to use the latest update.


    specci48
     
  3. Cableguy

    Cableguy Expert Licensed User

    I've been trying to make this Dll to work on the device, Haven't tried yet on the desktop....


    Lab - fgControl Label Object

    So I use the code:

    Lab.New1("Label1",1)

    And i get a NullReferenceException....

    What's Wrong?
    isn't this dll device compatible?


    EDIT:

    I finally understood the way this dll works...
    I was under the impression that it created NEW labels and textboxs...BUT it only changes some attributes of the ALREADY EXISTING ...
    Wich is not very well documented in the dll help file...
     
    Last edited: May 24, 2008
  4. Filippo

    Filippo Expert Licensed User

    Hallo Cableguy,

    I'm sorry, that the DLL Help isn't so good documented. It's not because I will not write a good documentation, it's because I cannot english.:sign0013:

    Ciao,
    Filippo
     
  5. Cableguy

    Cableguy Expert Licensed User

    NO Problem, it was a good exercise trying to understand what was wrong!!
     
  6. Filippo

    Filippo Expert Licensed User

    Hello,

    i have updated my library.


    Ciao,
    Filippo
     
  7. Filippo

    Filippo Expert Licensed User

    Hello,

    i have updated my library Version 1.074.

    The DLL with an example is included in the zip-file (fgControls_Example.zip)


    Ciao,
    Filippo
     
  8. Filippo

    Filippo Expert Licensed User

    Hello,

    i have updated my library Version 1.075.

    The DLL with an example is included in the zip-file (fgControls_Example.zip)


    Ciao,
    Filippo
     
  9. susu

    susu Well-Known Member Licensed User

    It's a wonderful library. Thank you, Filippo.
     
  10. Filippo

    Filippo Expert Licensed User

    Hello,

    i have updated my library Version 1.076.


    Ciao,
    Filippo
     
  11. Filippo

    Filippo Expert Licensed User

    Hi,

    i have updated my library Version 1.077.


    Ciao,
    Filippo
     
  12. Byak@

    Byak@ Active Member Licensed User

    Thanks for your work!
     
  13. Filippo

    Filippo Expert Licensed User

    Hi,

    i have updated my library Version 1.0791.


    Ciao,
    Filippo
     
  14. linum

    linum Active Member Licensed User

    Could somebody please post a quick example for using the BackColor option of this dll? The user manual mentions nothing about it and I keep getting an error message "Control does not support transparent background colors" when I do the following:

    Code:
    fgtextbox.BackColor = 222,254,251
    Please Help
     
  15. sahoopes

    sahoopes Member Licensed User

    Try
    fgtextbox.BackColor = rgb(222,254,251)
     
  16. pochero

    pochero Member Licensed User

    multiple fgcontrols

    is it possible to create a fg object (fglabel for example), at runtime? i need over 30 objets. Thank you.
     
  17. Filippo

    Filippo Expert Licensed User

    Hallo pochero,

    this is very simple:

    HTML:
    AddObject("labelnew","fgLabel")
      labelnew.New1("label1")
      labelnew.TextAlignment=labelnew.alCenter
    
    Ciao,
    Filippo
     
  18. pochero

    pochero Member Licensed User

    guay

    It's incredible, I was unaware of the existence of "addObject", thank you very much
     
  19. abeery

    abeery Member Licensed User

    FGLabel Not Transparent on GameWindow

    I need a transparent label on a game window that has sprites... the label appears but is not transparent

    My code looks like this... any help would be appreciated

    gw.New1("BBitConfig",0,0,BBitConfig.Width,BBitConfig.Height)
    gw.DrawBackgroundImage(AppPath & bg)
    gw.SetTransparentColor1(cBlack)

    myMonthDay.New1("dateMonthDay")
    myWeekDay.New1("dateWeekday")
    myMonthDay.Transparent=True
    myWeekDay.Transparent=True
    myWeekDay.TextAlignment=myWeekDay.alLeft
    myMonthDay.TextAlignment=myMonthDay.alLeft

    thanks
     
  20. Filippo

    Filippo Expert Licensed User

    Hello abeery,

    you must "Form1.Image=AppPath & bg

    Ciao,
    Filippo
     
    Last edited: Feb 1, 2009
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice