Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - fonts

fonts

User interface libraries written in PocketC

Postby Eli on Tue Apr 20, 2004 11:32 am

Is there a way to change the font on Clabels to Bold or other types?
I tried the textattr() command but i see no effect.

thanks

Eli
http://eswhut.com
Eli
 
Posts: 42
Joined: Fri Oct 11, 2002 10:57 pm
Location: USA

Postby dcalp on Tue Apr 20, 2004 12:28 pm

Hi Eli:
With CControls 1.1.1 you could use this:


Csetcontent(Label1,"Label1"); // normal
Csetcontent(Label2,"/f1Label2"); // bold
Csetcontent(Label3,"/f2Label3"); // large
Csetcontent(Label4,"/f7Label4"); // large bold

I don't remeber if CControls 1.0 have this function.

Kind regards





Diego

Pocket VisualForms
Visual design for PocketC
http://pocketvf.port5.com
http://www.angelfire.com/rnb/pocketvf
Diego

Pocket VisualForms
Visual design for PocketC
http://www.diegocalp.com.ar
dcalp
 
Posts: 115
Joined: Thu Dec 06, 2001 9:53 am
Location: Argentina

Postby Eli on Tue Apr 20, 2004 3:02 pm

Thanks, where can i find CControls 1.1.1? All the downloads locations (Orbworks.com and mscon.de) point to 1.0 which did not have this feature.



Eli
http://eswhut.com
Eli
 
Posts: 42
Joined: Fri Oct 11, 2002 10:57 pm
Location: USA

Postby dcalp on Tue Apr 20, 2004 3:37 pm

Look at the bottom of my website.

Kind regards

Diego

Pocket VisualForms
Visual design for PocketC
http://pocketvf.port5.com
http://www.angelfire.com/rnb/pocketvf
Diego

Pocket VisualForms
Visual design for PocketC
http://www.diegocalp.com.ar
dcalp
 
Posts: 115
Joined: Thu Dec 06, 2001 9:53 am
Location: Argentina

Postby Eli on Wed Apr 21, 2004 11:30 am

Diego, thanks for the updated library. I can now set the fonts.

I did notice a change on the Cedit command. Before i was able to get a small edit area with the OK button next to the actual edit line. Now i am back to getting the big window that returns the current value and a new edit field.

What changed and how do i set it back to the smaller text area?

Thanks again for all your help.


Eli
http://eswhut.com
Eli
 
Posts: 42
Joined: Fri Oct 11, 2002 10:57 pm
Location: USA

Postby dcalp on Wed Apr 21, 2004 12:20 pm

Hi Eli:
Cedit doesn't has changes, it always shows a big dialog. Your description seems to me like the PocketC built in function getsi().
Could be possible that you used a custom CControls with this behavior changed?

Kind regards


Diego

Pocket VisualForms
Visual design for PocketC
http://pocketvf.port5.com
http://www.angelfire.com/rnb/pocketvf
Diego

Pocket VisualForms
Visual design for PocketC
http://www.diegocalp.com.ar
dcalp
 
Posts: 115
Joined: Thu Dec 06, 2001 9:53 am
Location: Argentina

Postby Eli on Wed Apr 21, 2004 3:38 pm

Interesting you say that. I remember that effect from long ago. If you try the sample out the sample for v1.0 you will notice that it opens only a small box to edit which is very nice. This straight out of original files i had for V1.0.

I also notice you did not have a prc or pdb for v1.1.1 like in the 1.0 zip file.



Eli
http://eswhut.com
Eli
 
Posts: 42
Joined: Fri Oct 11, 2002 10:57 pm
Location: USA

Postby dcalp on Fri Apr 23, 2004 9:22 am

Hi Eli:
So I don't know. I just did some enhancements and corrections in my version.
I think that would be easy search for gets and replace it for getsi.



Diego

Pocket VisualForms
Visual design for PocketC
http://pocketvf.port5.com
http://www.angelfire.com/rnb/pocketvf
Diego

Pocket VisualForms
Visual design for PocketC
http://www.diegocalp.com.ar
dcalp
 
Posts: 115
Joined: Thu Dec 06, 2001 9:53 am
Location: Argentina

Postby aac on Wed May 19, 2004 12:27 am

Open Ccontrols2.c and go to line 103 where you'll see the following:

s=getsd(m,*p[5]);

make this line a comment and add the line below it. You'll have this:

//s=getsd(m,*p[5]);
s=getsi(p[1]-1, p[2]-1, p[3], *p[5]);

where the line reading s=getsi(p[1]-1, p[2]-1, p[3], *p[5]); will give you the box by getsi()as you wanted.

Save the file with the same name and that is it.

Hope this works.
aac
 
Posts: 1
Joined: Wed May 19, 2004 12:13 am
Location: Canada


Return to CControls and PocketGUI

Who is online

Users browsing this forum: No registered users and 2 guests

cron