Page 1 sur 1

Champ $PaperColor ???

MessagePublié: 10 Déc 2008 à 10:39
par mike76
Bonjour,

J'ai récupéré une base d'un client.
Je vois que dans chaque document j'ai un champ réservé $PaperColor
J'ai vu que ce champ correspondait à la couleur de fond que nous voulons donner au document.
Mais comment est créé et alimenté ce champ car je ne trouve nul part du code alimentant ce champ ??
Une option dans le masque ???

D'avance merci pour votre aide.

MessagePublié: 10 Déc 2008 à 11:21
par nemrod93
Les infos de ce champ en anglais

Did you know that you can dynamically change the background color of a document? There is a new feature, used primarily in domino development, called $PaperColor. This is a field that the developer creates in a form and typically hides. The field accepts a number, from 1 to 238, and displays the associated color. $PaperColor works well for Notes and Browser (Domino).

The value of the $PaperColor field, from 1-238, will produce one of the colors listed below. The colors below are listed in order, from 1 to 238. So if the value of $PaperColor was 3 then the background of your document would be red.

et le lien pour voir les options
http://searchdomino.techtarget.com/tip/ ... 0,00.html#

cdlt

MessagePublié: 10 Déc 2008 à 11:25
par mike76
Merci beaucoup pour la réponse je comprends mieux maintenant.

MessagePublié: 10 Déc 2008 à 15:51
par JYR

MessagePublié: 10 Déc 2008 à 15:58
par mike76
Merci JYR toujours bon à savoir

MessagePublié: 11 Mars 2010 à 08:58
par Steph_
pour le $BorderColor ça marche impeccable

par contre, le $PaperColor ne fonctionne pas du tout :?