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
Page 1 of 1

PostPosted: Tue Apr 20, 2004 11:32 am
by Eli
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

PostPosted: Tue Apr 20, 2004 12:28 pm
by dcalp
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

PostPosted: Tue Apr 20, 2004 3:02 pm
by Eli
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

PostPosted: Tue Apr 20, 2004 3:37 pm
by dcalp
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

PostPosted: Wed Apr 21, 2004 11:30 am
by Eli
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

PostPosted: Wed Apr 21, 2004 12:20 pm
by dcalp
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

PostPosted: Wed Apr 21, 2004 3:38 pm
by Eli
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

PostPosted: Fri Apr 23, 2004 9:22 am
by dcalp
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

PostPosted: Wed May 19, 2004 12:27 am
by aac
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.