Outlook prompt question

Outlook prompt question

Postby cdmmaui » Mon Oct 29, 2007 5:24 pm

Is there a way for the prompt data to display complete? I am using the following syntax for prompts when I want to show prompt on two or more lines, PROMPT 'text line1' + CHR(13) + CHR(10) + 'test line2'; however the text is cutting off on the second or third lines. Also, we have noticed that the text of the last bitmap is not displaying when the bitmap is at the bottom of the display area. Can you anyone help me with this?
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Wed Oct 31, 2007 7:21 am

Darrel,

Please provide a screenshot. Use www.imageshack.us to upload the image and copy here the provided url, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Fri Nov 02, 2007 2:56 am

Hi Antonio,

I have posted two examples.

Image

Image
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Fri Nov 02, 2007 10:08 am

Darrell,

In class TOutLook (source\classes\outlook.prg) there are three constants:

#define BTN_HEIGHT 25
#define BMP_SIZE 36
#define STEP_BMP 5

You may increase BTN_HEIGHT and STEP_BMP to have more space between buttons. Please try first increasing STEP_BMP only.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Fri Nov 02, 2007 1:35 pm

Hi Antonio,

I tried that and it did not work. Are there any other options?
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Fri Nov 02, 2007 2:05 pm

Darrell,

> STEP_BMP

Did the increase of its value cause any visible effect ? thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Fri Nov 02, 2007 2:39 pm

Yes, but the text was still cut off
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby James Bott » Fri Nov 02, 2007 3:58 pm

I find it interesting that in your graphic one of the buttons is displaying two lines of prompt, but the other two are not.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby cdmmaui » Fri Nov 02, 2007 4:08 pm

Hi James,

I am using the end of line character to force two or more lines in the prompt.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests