Hot Topic (More than 10 Replies) @PopupChoiceList window width (Read 1358 times)
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
@PopupChoiceList window width
Feb 28th, 2009 at 1:52pm
Print Post Print Post  
Is there a way to either manually adjust the width of a @PopupChoiceList menu window or have it adjust to the size of the information in the header automatically?

Thanks.
  
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: @PopupChoiceList window width
Reply #1 - Feb 28th, 2009 at 10:21pm
Print Post Print Post  
I don't think you can control the window size, but you can use the INI file to change the font, and you can change the position with PopupSelectPosition.

1.  Use PopupSelectPosition on the line before your @PopupChoiceList line.

2.  In the INI file, include this line:
MENU FONT SIZE: 16

Sesame will let you change the font sizes for the Menu Font and the Secondary Font, but the range is limited from 5 to 16.
----------------------------------------------------
« Last Edit: Mar 1st, 2009 at 1:35am by Bob_Hansen »  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #2 - Feb 28th, 2009 at 10:41pm
Print Post Print Post  
OK, thank you Bob.
  
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #3 - Mar 1st, 2009 at 12:47am
Print Post Print Post  
When I change the MENU FONT SIZE in the .ini file it only changes the size of the font on the menu button labels and the selections from within the popup menu. It doesn't change the size of the font of the text within the pop-up header.  

Is this correct behavior?

I'd like to change the font of the text within the pop-up header if the window size won't auto adjust.

Thanks.
  
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: @PopupChoiceList window width
Reply #4 - Mar 1st, 2009 at 2:00am
Print Post Print Post  
It is possible that you may need to edit your Header.  
Have you tried to include @NewLine() in the Header to try to split into multiple lines?  I have no access now to test that, was just a passing idea ..........

I have forgotten what the Primaary and Secondary fonts cover.
Both can be used: MAIN FONT SIZE and SECONDARY FONT SIZE.
Have you tried both of them?

Primary font = Sesame screen elements such as menus and dialog boxes.
Secondary font = Sesame screen elements such as status bars.

Neither of them has any effect on user-defined Forms.

Might be best to see exactly what you put in the INI file.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #5 - Mar 1st, 2009 at 2:17am
Print Post Print Post  
Thanks for the reply Bob.

I did try to use the @NewLine() in the header but it didn't split it into two, it just ignored it.

I did try the SECONDARY FONT SIZE.  That changes the area near the top where it shows what record you're on, the Macro: window, and the MODE: window sizes.

These lines are copied from my ini file:

MENU FONT SIZE: 15
SECONDARY FONT SIZE: 15

I had set both of them to 15 some time ago because it seemed to be a better look.

I tried changing both of them at different times and then fired the db each time to see what had changed. While I could see the changes taking place, neither of them changed the font of the menu text. 

Thanks for taking a look at this,

Brandon



  
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: @PopupChoiceList window width
Reply #6 - Mar 1st, 2009 at 2:24am
Print Post Print Post  
Sorry I had no sensible solution.

See no problem with the INI settings......

Thanks for the feedback about the NewLine() in the header.  
Don't have to wonder about that any more.

Let's hope someone else can help you out.
« Last Edit: Mar 1st, 2009 at 3:39am by Bob_Hansen »  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #7 - Mar 1st, 2009 at 2:44am
Print Post Print Post  
Ok, thanks again.

We'll see if someone comes up with anything.

Thanks,

Brandon
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: @PopupChoiceList window width
Reply #8 - Mar 1st, 2009 at 3:10am
Print Post Print Post  
We have a feature request on file for this. We're working through the list.  Smiley
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: @PopupChoiceList window width
Reply #9 - Mar 1st, 2009 at 3:54am
Print Post Print Post  
tcgeo wrote on Feb 28th, 2009 at 1:52pm:
Is there a way to either manually adjust the width of a @PopupChoiceList menu window...?

Thanks.


It does not automatically adjust its width. But it is manually adjustable: simply drag any window edge and the window will resize.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #10 - Mar 1st, 2009 at 12:35pm
Print Post Print Post  
Wow, you guys are working late on a Saturday night!

Thanks much for the responses and thanks for working on this.

Brandon
  
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: @PopupChoiceList window width
Reply #11 - Mar 1st, 2009 at 1:16pm
Print Post Print Post  
tcgeo wrote on Mar 1st, 2009 at 12:35pm:
Wow, you guys are working late on a Saturday night!

Brandon,

You'd be hard-pressed to find better support anywhere else! Smiley
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: @PopupChoiceList window width
Reply #12 - Mar 1st, 2009 at 1:45pm
Print Post Print Post  
I couldn't agree with you more Carl.  I've been impressed with everyone at Lantica ever since I started working with Sesame!  I'm also impressed with everyone else on this forum, as there always seems to be someone available to respond and help.
  
Back to top
IP Logged