Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
911 views
in Technique[技术] by (71.8m points)

graphics - In Domino Designer, what is the best approach for drawing a rectangle on a Form based on the user's input?

I created a Form that prompts the user to choose values for four fields.

  1. Width (an integer from 1 to 10)
  2. Length (an integer from 1 to 10)
  3. Area (a color from a color picker)
  4. Border (a color from a color picker)

After the user has supplied all 4 values, I want to display the rectangle on the same Form in real-time so the user can see how it looks.

What is the best approach for accomplishing this and how could I implement it?

Note: I am using IBM Domino Designer 10.0.1FP3.

question from:https://stackoverflow.com/questions/65836854/in-domino-designer-what-is-the-best-approach-for-drawing-a-rectangle-on-a-form

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think your two options will be...

  • Embedding a Java applet on the form and using Java's graphics capabilities to draw the rectangle,

Or

  • Calling third-party vendor Genii Software and talking to Ben about whether this can be done with the MIDAS Rich Text API. (Something in the back of my mind tells me that he did a demo of something like this once.)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...