date                                                
      
char
optlist[256] =
"script {var d = util.printd( mmm dd yyyy , new Date()); "
"var date = this.getField( date ); date.value = d;}"
show_date = PDF_create_action(p, "JavaScript", optlist);
                                                                    
action                         
                       
show_date                                                   
open               
      
                  
                                      
sprintf(optlist, "action {open %d}", show_date);
PDF_begin_page_ext(p, pagewidth, pageheight, optlist);
                                                                                                      
                                      
textfield_font = PDF_load_font(p, "Helvetica Bold", "winansi", "");
sprintf(optlist, "backgroundcolor {gray 0.8} font %d", textfield_font);
PDF_create_field(p, left_x, left_y, right_x, right_y, "date", 0, "textfield", optlist);
3.4.2                                                                                                   
                                                                                                        
                                                                                                      
                                                                                                    
                                                                                                
                                                                                             
                                                                                    
PDF_create_
field( )   
action                                                 
                                                                                                         
                                  
keystroke    format                                                        
                                                                                                   
                      
                  
keystroke    format                                                                           
                                                                                                   
                                                     
keystroke_action = PDF_create_action(p, "JavaScript",
"script {AFNumber_Keystroke(2, 0, 3, 0, \"EUR \", true); }");
format_action = PDF_create_action(p, "JavaScript",
"script {AFNumber_Format(2, 0, 0, 0, \"EUR \", true); }");
sprintf(optlist, "font = %d action = {keystroke %d format %d}",
font, keystroke_action, format_action);
PDF_create_field(p, 50, 500, 250, 600, "price", 0, "textfield", optlist);
                                                                                             
                                                                                               
                             
keystroke    format                                             
3.4                                                     
77






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

cgi web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved