B4J Question Setting screen width and height in runtime

Harris

Expert
Licensed User
Longtime User
I know we use the following to set initial dimensions.

#Region Project Attributes
#MainFormWidth: 900
#MainFormHeight: 650
#End Region


But how do we alter this in runtime to adjust for users screen (W / H)? Make full screen based on their monitor size?

Thanks
 

Harris

Expert
Licensed User
Longtime User
Thanks, that works... Bang on...

(Why could not I find that during my queries of search - tried many (width, screen, full screen, height, browser screen, etc..?)

However I search (spend much time), I can't find these posts?
I hate to bother anyone when this has been asked and answered so many, many times before... You have much better use of your time rather than pointing us in a direction we should be able to find on our own (with correctly constructed searches). I notice that this feature is lacking (yet we don't need 450,000 that Google would return).

Then, without result, I/we ask again... What to do?

Clues on effective searches...?

Thanks again.
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
I don't agree on that. The search engine on this site is very good and in most cases returns the best results.

Take a poll. Ask your community if search gets them what they are looking for... (most of the time) .
I see repeated questions - due to:
1, they didn't look (search) - or
2, they did not find it... Hell, I answer repeats (point them to your and other responses).

Yes, probably, it works when the phrase is constructed properly (how to?)

I guess it lacks the fuzzy of input. When we don't know how to definitely describe what we are looking for.

Believe me, I have tried many different "inputs" - in many different ways. After all else fails (I know it is there - somewhere) - I ask in desperation.

Of course, we can not overlook the obvious - I am stupid... (when it comes to this (and other points).
Bare with and forgive me.

Do you prefer we ask - so you or others can hold our hands and guide us (after exhausting searches)? You guys always show us - like I said, it has been asked and answered before.

Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You wrote yourself that you searched for 'full screen'. My guess is that you don't know that you can limit the results to a single product by adding the product name:
https://www.b4x.com/search?query=full+screen+b4j

Do you prefer we ask - so you or others can hold our hands and guide us (after exhausting searches)?
Yes. As written in the search page, if you don't find the results you are looking for then start a new thread and we will help you.
 
Upvote 0
Top