small form size without titles and menus

Discussion in 'Code Samples & Tips' started by Byak@, Sep 3, 2008.

  1. Byak@

    Byak@ Active Member Licensed User

    how can i set size of form in device?
    for exapmle i want app wit size -cmaal part of display.how:confused:

    image for example
    [​IMG]
     
  2. Cableguy

    Cableguy Expert Licensed User

    Forms on the device ALWAYS take full screen, however it is possible to launch a panel and overlap it on any form, just like my about panel does...
    have a look at the updated in post#28 INI editor app...
     
  3. agraham

    agraham Expert Licensed User

    I've been Googling and found a way round that :) A form without a border can be moved and sized programmatically, so using the door library here is a module that does that.

    EDIT : - Improved version that lets you move the small form with the stylus. Note that the title and menu are that of the small form when it is displayed. Maybe Formlib.FullScreen or FullScreen2 would remove them, I haven't tried.
     

    Attached Files:

    Last edited: Sep 3, 2008
  4. Byak@

    Byak@ Active Member Licensed User

    good work agraham!!!
    i'm rewrite this code for version 6.30
    but now it's doesn't work correct...form not resizing but moving.
    in 6.41 it work right?
     

    Attached Files:

    • 1.sbp
      File size:
      2.4 KB
      Views:
      136
  5. Byak@

    Byak@ Active Member Licensed User

    yesyesyes!i'm do it!now my sorce work right!
     

    Attached Files:

    • 1.sbp
      File size:
      2.5 KB
      Views:
      187
  6. Byak@

    Byak@ Active Member Licensed User

  7. kustg

    kustg Member Licensed User

    i know it's a long time ago, but i don't understand how to get the textboxes in the form? the form in the designer is empty?
     
  8. mjcoon

    mjcoon Well-Known Member Licensed User

    Goodness knows what steps have been gone through to get the source to this state (or why!)...

    But if you open the source file in a text viewer you will see that those controls are created for form2. Since the Designer only knows about form1 the controls are invisible!

    Mike.
     
  9. kustg

    kustg Member Licensed User

    thank you for your prompt help,mike!
    i understand it now
     
  10. kustg

    kustg Member Licensed User

    after some playing around i found out, that you can use it as widget just like in windows , see atached picture. that's strange. you can use it for e.g. a weather widget
     

    Attached Files:

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