Inserting Special Characters 
Author Message
 Inserting Special Characters
Using Pdoxwin 4.5.

How does one include special characters like the circle-c (c)
copyright mark, or the circle-r (r), registered trademark, etc.,
in a field?  I've tried to cut the character from and word processor
and paste it into the field, but could not save the file.



Sat, 23 Nov 1996 06:06:46 GMT
 Inserting Special Characters

: Using Pdoxwin 4.5.

: How does one include special characters like the circle-c (c)
: copyright mark, or the circle-r (r), registered trademark, etc.,
: in a field?  I've tried to cut the character from and word processor
: and paste it into the field, but could not save the file.

From OPAL, you should be able to do:

        table_tc.field_name = "stuff" + chr (circle-c) + "more stuff"

where you pass the ANSI code of the char of interst to chr ().

From the desktop, isn't there a way to enter in the ANSI code of char from the
keyboard... I dunno.

Brian



Sat, 23 Nov 1996 22:02:35 GMT
 Inserting Special Characters
: : Using Pdoxwin 4.5.

: : How does one include special characters like the circle-c (c)
: : copyright mark, or the circle-r (r), registered trademark, etc.,
: : in a field?  I've tried to cut the character from and word processor
: : and paste it into the field, but could not save the file.

: From OPAL, you should be able to do:

:       table_tc.field_name = "stuff" + chr (circle-c) + "more stuff"

: where you pass the ANSI code of the char of interst to chr ().

: From the desktop, isn't there a way to enter in the ANSI code of char from the
: keyboard... I dunno.

The CHARMAP that comes with Windows should allow you to paste the needed
characters.  Just make sure you have the right font IN PDOXWIN.

--Kasey Chang



Sun, 24 Nov 1996 12:34:06 GMT
 Inserting Special Characters

Quote:


>: : Using Pdoxwin 4.5.
>: : How does one include special characters like the circle-c (c)
>: : copyright mark, or the circle-r (r), registered trademark, etc.,
>: : in a field?  I've tried to cut the character from and word processor
>: : and paste it into the field, but could not save the file.

[stuff deleted]

Quote:
>The CHARMAP that comes with Windows should allow you to paste the needed
>characters.  Just make sure you have the right font IN PDOXWIN.
>--Kasey Chang

The key word here is 'right font'.  Only formatted memo fields support
fonts.  For any other field, you MAY get the right character IF you
have the ENTIRE field displayed in the right font, and you'll have to
have ALL of your forms and tableviews use the same font for that
field since the fonts ARE NOT stored in the table.  And of course make
sure that you have Strict Translation off.

Best thing to do is just use a formatted memo.

-Ed Kallen



Sun, 24 Nov 1996 15:02:03 GMT
 Inserting Special Characters


: >: : How does one include special characters like the circle-c (c)
: >: : copyright mark, or the circle-r (r), registered trademark, etc.,
: >: : in a field?  I've tried to cut the character from and word processor
: >: : and paste it into the field, but could not save the file.

: >The CHARMAP that comes with Windows should allow you to paste the needed
: >characters.  Just make sure you have the right font IN PDOXWIN.

: The key word here is 'right font'.  Only formatted memo fields support
: fonts.  For any other field, you MAY get the right character IF you
: have the ENTIRE field displayed in the right font, and you'll have to
: have ALL of your forms and tableviews use the same font for that
: field since the fonts ARE NOT stored in the table.  And of course make
: sure that you have Strict Translation off.

Not true.  I have embedded different fonts into my regular text field in
buttons and fields.  I have a button where it uses the big checkmark from
the WingDing font, then the work "OK" in Arial.  I have a Cancel button
just like that too, and a Help button.

Just highlight the character you want a different font on, and CHANGE
THAT CHARACTER(S) only.

--Kasey Chang



Thu, 28 Nov 1996 13:15:40 GMT
 Inserting Special Characters

 > : The key word here is 'right font'.  Only formatted memo fields support
 > : fonts.  For any other field, you MAY get the right character IF you
 > : have the ENTIRE field displayed in the right font, and you'll have to
 > : have ALL of your forms and tableviews use the same font for that
 > : field since the fonts ARE NOT stored in the table.  And of course make
 > : sure that you have Strict Translation off.
 >
 > Not true.  I have embedded different fonts into my regular text field in
 > buttons and fields.  I have a button where it uses the big checkmark from
 > the WingDing font, then the work "OK" in Arial.  I have a Cancel button
 > just like that too, and a Help button.
 >
 > Just highlight the character you want a different font on, and CHANGE
 > THAT CHARACTER(S) only.

Kasey, I think the original poster may have referring to Data fields, not
the design text. You are, of course, quite right as far as your comment
goes.

In any case, here's a good one for font fiends -- does anyone know of a way
to detect/extract font information from within a formatted memo field WITHIN
Paradox? I gather converting the memo to string just preserves the text,
dumping font info (which is fair enough, I guess). But if there were a way
to latch on to the font info too, it would come in handy for an app I hage
in mind.

cheers,
peter

==============================================================================
             Peter Hyde, South Pacific Information Services Ltd
             Christchurch, New Zealand -- Only a satellite away



Mon, 02 Dec 1996 06:15:18 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. Inserting Special Characters

2. how to insert special character into the database

3. Inserting Special Characters

4. Inserting special characters into fields.

5. Insert special characters from SQL-Plus

6. Inserting Special Characters in Text

7. How to Insert Special Characters into a SQL Server 7.0 db field?

8. INSERT strings with special characters

9. INSERT INTO - special text characters ??

10. Insert characters to existing character field

11. SQL find trouble with special characters

12. SQL Server and C++ Special Characters


 
Powered by phpBB® Forum Software