IE6 form button issue (urgent)
I have an issue I've suddenly hit, my submit button it doesn't perform it's action. The action assigned to the button is Print()
var f = getField('hideTitle');
f.textColor = color.red;
f.value = 'Not a valid document unless printed using the Print button. This text will not display on the printed document.';
f.alignment = 'center';
f.display =display.visible;
var g = getField('hideBc');
g.textColor = color.red;
g.value = 'Not a valid document unless printed using the Print button. This text will not display on the printed document.';
g.alignment = 'center';
g.display =display.visible;
function Print() {
f.display =display.noPrint;
g.display =display.noPrint;
print();
I *think* the issue is related to the fact that they tend to use Adobe Reader 8, however it could also be related to the fact that they use IE6!!!!
Of course, this has been working perfectly under test as we use version 9 and no-one in their right mind uses IE6 any more...
Can anyone point me in the right direction
If it helps...
The font textColor (colour, gah!) attribute gets set, but the alignment doesn't!!!
It's as if it parses the first line then falls over.
Could it be quote marks????
Similar Messages
-
Forms Personalization Issues / Urgent help
Hello Oracle Gurus,
I have an issue while customizing the Customer Standard Form in Oracle Applications using Forms Personalization.
Issue descritption:
1) In Customer Standard Form (ARXCUDCI), at Bill-to Site level i need to disable the buttons NEW and OPEN for a custom responsibility.
I have written code in Trigger Event "WHEN-NEW-FORM-INSTANCE" and in actions i mentioned as
1. Property - Object Type as Item
Target Object as CTRL.ADDR_SU_NEW
Property Name as Enabled
Value as False
2. Property - Object Type as Item
Target Object as CTRL.ADDR_SU_OPEN
Property Name as Enabled
Value as False
When i check, it is working for the NEW button (i.e. NEW button getting disabled) but the same is not working for OPEN button.
Am i missing any thing else.........Any suggestions are highly appreciated.
Thanks & Regards,
Lakshmi Kalyan Vara Prasad.I would guess that the problem with the Open button is that there is existing standard code within the form that runs after the WHEN-NEW-FORMS-INSTANCE trigger that enables/disables the Open button based on some other condition.
Apart from opening up the form in Forms Builder and working through the code to work out what standard code is doing this (which can be an extremely painful process), I would suggest that you try moving your personalisation to a later event, such as WHEN-NEW-BLOCK-INSTANCE. -
On RMS forms Button image is not coming. I think this is some confguration issue but i am not able to locate the configuration file which is responsible for this issue.
I think this is a better way to implement your UI:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Spacer height="2%"/>
<mx:Panel width="55%" height="28%" title="User Details" paddingTop="10">
<mx:Form>
<mx:FormItem label="Select account type: " letterSpacing="1"
fontFamily="Arial" >
<mx:ComboBox id="accCombo" />
</mx:FormItem>
<mx:FormItem label="UserName: " letterSpacing="2" fontSize="11"
fontFamily="Arial">
<mx:TextInput id="uname" width="100%"/>
</mx:FormItem>
<mx:FormItem label="Password: " letterSpacing="2"
paddingTop="30" fontSize="11" fontFamily="Arial">
<mx:TextInput id="password" width="100%" displayAsPassword="true"/>
</mx:FormItem>
<mx:FormItem label="Retype Password: " letterSpacing="2"
paddingTop="30" fontSize="11" fontFamily="Arial">
<mx:TextInput id="password1" width="100%"
displayAsPassword="true"/>
</mx:FormItem>
</mx:Form>
</mx:Panel>
</mx:Application>
If this post answers your question or helps, please mark it as such. -
Using css on form buttons to make them pretty
Hello,
I usually use the below css (bottom page) on a page for my
form buttons, it
works nicely in ff and IE, but with regards to the W3C CSS
Validator I get
the following errors.
input.btn attempt to find a semi-colon before the property
name. add it
input.btn Property progid doesn't exist : DXImageTransform
input.btn Parse Error DXImageTransform.Microsoft.Gradient
(GradientType=0,
StartColorStr='#ffffffff', EndColorStr='#ffeeddaa');
input.btn Parse Error }
If any one knows how to make this errorless I would be
grateful, it does
appear as a nice botton etc lol
any way if any one has input I am grateful
regards
k
-~-~-~-~-~-~ the page with botton is below -~-~-~-~-~-~
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Testing css form button</title>
<style type="text/css">
<!--
input.btn {
color:#050;
font-family: Tahoma, Arial, Verdana, Monaco, sans-serif;
font-size:10px;
font-weight:bold;
background-color:#fed;
cursor:pointer;
border:1px solid;
border-top-color:#B2876A;
border-left-color:#B2876A;
border-right-color:#B2876A;
border-bottom-color:#B2876A;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0,
StartColorStr='#ffffffff', EndColorStr='#ffeeddaa');
-->
</style>
</head>
<body><form action="" method="post">
<p>
<input name="ahithere" type="submit" class="btn"
id="ahithere"
value="Submit">
</form>
</body>
</html>.oO(Thierry)
>"Michael Fesser" <[email protected]> wrote in message
>news:[email protected]...
>> .oO(Thierry)
>>
>>>Following Micha's advice will make your document
validate, but... this
>>>will
>>>also add a HTTP request.
>>
>> Correct, but only in IE 6. And who really cares
about that?
>>
>> Additionally many modern and sophisticaded layouts
usually need some
>> more workarounds for IE 6 than just a filter here
and an alpha loader
>> there. It makes sense to use a separate stylesheet
for them, because
>> IE-specific hacks in the main stylesheet may cause
even more problems
>> and also affect other browsers.
>
>I used to think that way [1], but I changed my mind...
>imho:
>- keeping rules together facilitate maintenance.
Sure, but some rules are only required for IE. They don't
make sense for
all other browsers and would just clutter up the real CSS,
particularly
if you have to use hacks to apply them to IE only.
>- using CCs for IE may create extra HTTP requests for
that browser only, but
>it adds extra markup for *all* browsers.
Indeed. But how much does it take on each page usually? 50
bytes? 100?
A real example from my own sites with CCs for both IE 6 (CSS
and JS) and
IE 7 (only CSS) is exactly 363 bytes - peanuts.
I also use a lot of 'link' elements for example (next page,
previous,
home, search, etc.) All users have to download them, even
though most
won't recognize them, because only very few browsers support
these meta
navigation links natively. But for those whose browsers
interpret them,
they're a useful addition. And the rest has to download 1KB
more -
doesn't matter.
>- you say who cares about IE6
Hmm, it was not properly worded ... what I meant was more
like this: I
_do_ care about IE 6 (I have to, like most of us), but I
don't really
care if it has to download one or even ten additional files.
In fact on my sites there are some more files for IE 6 only:
a CSS, a
JS, a behaviour file for fixing its PNG issue and maybe some
JPEGs as
replacements where the PNG fix doesn't work. So there are at
least 4
additional files for IE 6 only, but since they're necessary I
don't
worry about these additional HTTP requests.
>but when IE6 is gone for good, you end up
>with unecessary comments in all your documents rather
than useless CSS
>filters in a (few) styles sheets
When IE 6 is dead, it's no problem to remove this single line
from my
page templates. One little change on each site - won't take
long.
And as said, usually there's a bit more than just filters. An
example:
http://static.andreas-pauli.de/css/ie6.css
There's not even a PNG fix in this case. All these rules are
related to
IE's float problems, to give some elements "layout" or to
overcome other
little ugly glitches. Having all these in the main CSS would
make things
much more complicated and almost impossible to remove when IE
6 becomes
obsolete one day.
>- afaik, wellknown IE specific hacks as such as the
*property or _property
>hack are totally safe to use (as long as they are always
followed by a ";")
This is my main problem. No hack is totally safe. If I have
the choice
between a rather ugly, but documented behaviour and a hack, I
definitely
prefer the first one. Even though the common IE hacks are
well-tested
these days and I don't expect real side effects, there's
always a kind
of a negative connotation. I simply don't like them.
Additionally there's the problem that in my case IE 7
requires some
fixes as well, and then things would become really
complicated if you
only want to use hacks. CCs are ugly and pollute the markup a
bit, but
at least they are a reliable way to give each IE the medicine
it needs.
Personally I consider them the only useful & working
feature in IE. ;-)
>fwiw, I'm a strong advocate for markup validation
Me too.
>but I don't care when CSS
>files fail validation (actually I don't expect them to
validate).
Well, I prefer valid CSS too, but don't care too much about
warnings.
For example I usually get tons of warnings when I declare a
foreground
color without a background or the other way round. But this
is by
intention, and since I know what I'm doing (at least in most
cases), I
think I can safely ignore these warnings. But I don't like
errors. And
as said - my main problem are the hacks, which I try to
avoid.
So there's not only technical issues in these cases, but also
a lot of
personal preferences I think. For me CCs are the cleaner way
and much
easier to handle. YMMV, of course.
Micha -
Form button does not work when a program is moved from Windows 8.2 to Windows 7
Hi,
I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB.
When the macros tries to write the data to MYOB it fails if I am not running the program in administrator mode. It seems that Windows 8.2 has a different level of security than Windows 7 and must be run in administrator mode for the ODBC to work.
I have had issues after running the program in administrator mode (testing) if I simply do a save (in administrator mode) and then send it to the customer. The issue is that it just will not work on the customer's site. I have gotten
around this in the past by saving any changes, going back out of excel, loading the program again (not in administrator mode) and saving it - before sending it to the customer. This worked until now.
For some unknown reason, the last time I sent a program to the customer and carried out the above process, the program stopped working. Originally I thought that the macro just wouldn't work on windows 7, but eventually found that it is the form button
that will no longer work when the program is moved from 8.2 to 7.
Does anyone know why there is an incompatibility between 8.2 and Windows 7 and what I should be doing to ensure that my programs work in my customers environment(windows7)?
In the meanwhile, I have changed the form button to an activex button and the program works fine in both environments.
Thanking you in advance,there is some OP report after Windows update Dec 2014 macro stop responding ( I cant confirm if this is also related to your issue) its because security update for Office maybe conflict with the active-x that you are installed
try to
Close Excel
Start Windows Explorer.
Select your system drive (usually C:)
Use the Search box to search for *.exd
Delete all the files it finds.
Start Excel again
Open that file and save it, and try open at Windows 7
to get more detail about this issue, I suggest also contact Office forum
this case also will be solve installing kb3025036
good luck -
Hi Guys,
I have designed few forms recently and i am fairly new to livecyle, I have actually 2 issues, bit odd and i have tried to be as much discriptive as i can.
email submit button on all my forms works but it sends email to one perticular address and not to one that i programmed it to.
I.e. Form 1 - email to [email protected] - when i press submit button it will send email to [email protected]
Form 2 - email to [email protected] - when i press submit button it will send email to [email protected]
Form 3 - email to [email protected] - when submit button is pressed it sends email to [email protected]
Now when i use this button on actual form it sends email to right addresse but it is obviously in XML format and wouldnt work for us, when i use button on distributed copy of the form (created via distribute form button) it sends email to wrong addresse in PDF formate (which is the formate we like).
Also whatever i put in Email Subject box - it will always put "submitting completed form" in the email subject line.
Not sure if it makes any different but we use outlook and i have tried this from several pcs.
I think i have cheked and rechecked everything and can't fix it, any help would be great.
Process i use to create this button is - Insert >standard>email submit, i will then put desired email address and email subject in relevant fields under Object pellette.
Thanks,
HThere are two ways to set the adress in LiveCycle I know:
1st is with the button itself, second is with Javascript/Formcalc.
If I got you right and you have 3 different forms you could search for the [email protected] adress in the xml's and exchange it there or check out where the form gains the mail adress from. It's the easiest method to get rid of something you are not that sure where it is located in the form but know what it does ;D . (I had some similar problem since I overtook forms of someone else.)
Did you check this thread out? http://forums.adobe.com/thread/462681?tstart=0
Paul gave an example there how to deal with the various things on mail buttons.
Edit: PS: On which event did you script it? Normally you can't script on the mail button itself so you need a fake button like Paul said.
I'm also not good with Reader Extensions, since I can't experiment with those sry -
Hello folks,
i were designed a simple form, and the anchoring goin' wrong...
on designer it's OK, but while running not,
i even tried following link example, replacing panel with inheritance version one, but it also didn't worked...
http://support.microsoft.com/kb/953934
my code are here:
using System.Windows.Forms;
using HassanFaghihi.Tools.InteropServices;
namespace HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite
public partial class ButtonForm : Form
public ButtonForm()
InitializeComponent();
namespace HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite
partial class ButtonForm
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
this.panelHeaderPadding = new ControlContainer();
this.panelHeader = new ControlContainer();
this.panelCloseButton = new ControlContainer();
this.panelMain = new ControlContainer();
this.panelButtonPlaceHolderPadding = new ControlContainer();
this.panelButtonPlaceHolder = new ControlContainer();
this.panelContentPlaceHolder = new ControlContainer();
this.panelHeaderPadding.SuspendLayout();
this.panelHeader.SuspendLayout();
this.panelMain.SuspendLayout();
this.panelButtonPlaceHolderPadding.SuspendLayout();
this.SuspendLayout();
// panelHeaderPadding
this.panelHeaderPadding.Controls.Add(this.panelHeader);
this.panelHeaderPadding.Dock = System.Windows.Forms.DockStyle.Top;
this.panelHeaderPadding.Location = new System.Drawing.Point(0, 0);
this.panelHeaderPadding.Name = "panelHeaderPadding";
this.panelHeaderPadding.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0);
this.panelHeaderPadding.Size = new System.Drawing.Size(500, 34);
this.panelHeaderPadding.TabIndex = 0;
// panelHeader
this.panelHeader.BackColor = System.Drawing.Color.White;
this.panelHeader.Controls.Add(this.panelCloseButton);
this.panelHeader.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelHeader.Location = new System.Drawing.Point(4, 4);
this.panelHeader.Name = "panelHeader";
this.panelHeader.Size = new System.Drawing.Size(492, 30);
this.panelHeader.TabIndex = 0;
this.panelHeader.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel5_MouseDown);
// panelCloseButton
this.panelCloseButton.BackgroundImage = global::HassanFaghihi.StatesInstitution.Forms.Properties.Resources.close;
this.panelCloseButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.panelCloseButton.Dock = System.Windows.Forms.DockStyle.Right;
this.panelCloseButton.Location = new System.Drawing.Point(462, 0);
this.panelCloseButton.Name = "panelCloseButton";
this.panelCloseButton.Size = new System.Drawing.Size(30, 30);
this.panelCloseButton.TabIndex = 0;
this.panelCloseButton.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel4_MouseClick);
// panelMain
this.panelMain.Controls.Add(this.panelContentPlaceHolder);
this.panelMain.Controls.Add(this.panelButtonPlaceHolderPadding);
this.panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelMain.Location = new System.Drawing.Point(0, 34);
this.panelMain.Name = "panelMain";
this.panelMain.Padding = new System.Windows.Forms.Padding(4);
this.panelMain.Size = new System.Drawing.Size(500, 266);
this.panelMain.TabIndex = 0;
// panelButtonPlaceHolderPadding
this.panelButtonPlaceHolderPadding.Controls.Add(this.panelButtonPlaceHolder);
this.panelButtonPlaceHolderPadding.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelButtonPlaceHolderPadding.Location = new System.Drawing.Point(4, 229);
this.panelButtonPlaceHolderPadding.Name = "panelButtonPlaceHolderPadding";
this.panelButtonPlaceHolderPadding.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0);
this.panelButtonPlaceHolderPadding.Size = new System.Drawing.Size(492, 33);
this.panelButtonPlaceHolderPadding.TabIndex = 1;
// panelButtonPlaceHolder
this.panelButtonPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelButtonPlaceHolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelButtonPlaceHolder.Location = new System.Drawing.Point(0, 4);
this.panelButtonPlaceHolder.Name = "panelButtonPlaceHolder";
this.panelButtonPlaceHolder.Size = new System.Drawing.Size(492, 29);
this.panelButtonPlaceHolder.TabIndex = 0;
// panelContentPlaceHolder
this.panelContentPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelContentPlaceHolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelContentPlaceHolder.Location = new System.Drawing.Point(4, 4);
this.panelContentPlaceHolder.Name = "panelContentPlaceHolder";
this.panelContentPlaceHolder.Size = new System.Drawing.Size(492, 225);
this.panelContentPlaceHolder.TabIndex = 0;
// ButtonForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(500, 300);
this.Controls.Add(this.panelMain);
this.Controls.Add(this.panelHeaderPadding);
this.Font = new System.Drawing.Font("Tahoma", 8F);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ButtonForm";
this.Text = "Form1";
this.panelHeaderPadding.ResumeLayout(false);
this.panelHeader.ResumeLayout(false);
this.panelMain.ResumeLayout(false);
this.panelButtonPlaceHolderPadding.ResumeLayout(false);
this.ResumeLayout(false);
#endregion
private ControlContainer panelHeaderPadding;
private ControlContainer panelCloseButton;
private ControlContainer panelMain;
protected internal ControlContainer panelHeader;
private ControlContainer panelButtonPlaceHolderPadding;
protected internal ControlContainer panelContentPlaceHolder;
protected internal ControlContainer panelButtonPlaceHolder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using HassanFaghihi.StatesInstitution.BusinessTier.Factory;
using HassanFaghihi.StatesInstitution.BusinessTier.Model;
using HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite;
using HassanFaghihi.Tools.Extensions;
using NHibernate.Util;
namespace HassanFaghihi.StatesInstitution.Forms
public partial class FindOwner : ButtonForm
private readonly List<Owner> _owners;
public Owner SelectedOwner { get; set; }
public FindOwner()
try
_owners = new OwnerFactory().GetOwners();
catch (Exception ex)
MessageBox.Show(this,
"Cannot access data at this time, Please try again.\nError Message: {0}".FormatString(ex.Message),
"Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
InitializeComponent();
SelectedOwner = null;
public FindOwner(Owner owner) : this()
SelectedOwner = owner;
//TODO: Select Current Owner on GridView
private void FindOwner_Load(object sender, EventArgs e)
//IQueryable<Owner> owners = new OwnerFactory().GetOwnersQueryable();
gridOwners.DataSource = _owners.ToList();
private void btnSelect_Click(object sender, EventArgs e)
Guid id = (Guid) gridOwners.CurrentRow.Cells[@"OwnerId"].Value;
SelectedOwner = _owners.First(w => id.Equals(w.OwnerId));
Close();
private void btnCancel_Click(object sender, EventArgs e)
Close();
namespace HassanFaghihi.StatesInstitution.Forms
partial class FindOwner
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
Janus.Windows.GridEX.GridEXLayout gridOwners_DesignTimeLayout = new Janus.Windows.GridEX.GridEXLayout();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FindOwner));
this.gridOwners = new Janus.Windows.GridEX.GridEX();
this.btnSelect = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.panelContentPlaceHolder.SuspendLayout();
this.panelButtonPlaceHolder.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridOwners)).BeginInit();
this.SuspendLayout();
// panelHeader
this.panelHeader.Size = new System.Drawing.Size(393, 30);
// panelContentPlaceHolder
this.panelContentPlaceHolder.Controls.Add(this.gridOwners);
this.panelContentPlaceHolder.Size = new System.Drawing.Size(393, 135);
// panelButtonPlaceHolder
this.panelButtonPlaceHolder.Controls.Add(this.btnCancel);
this.panelButtonPlaceHolder.Controls.Add(this.btnSelect);
this.panelButtonPlaceHolder.Size = new System.Drawing.Size(393, 29);
// gridOwners
this.gridOwners.AlternatingRowFormatStyle.BackColor = System.Drawing.Color.Gainsboro;
gridOwners_DesignTimeLayout.LayoutString = resources.GetString("gridOwners_DesignTimeLayout.LayoutString");
this.gridOwners.DesignTimeLayout = gridOwners_DesignTimeLayout;
this.gridOwners.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridOwners.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.gridOwners.GroupByBoxVisible = false;
this.gridOwners.Location = new System.Drawing.Point(0, 0);
this.gridOwners.Name = "gridOwners";
this.gridOwners.Office2007ColorScheme = Janus.Windows.GridEX.Office2007ColorScheme.Custom;
this.gridOwners.Office2007CustomColor = System.Drawing.Color.Black;
this.gridOwners.RowHeaderContent = Janus.Windows.GridEX.RowHeaderContent.RowIndex;
this.gridOwners.RowHeaders = Janus.Windows.GridEX.InheritableBoolean.True;
this.gridOwners.Size = new System.Drawing.Size(393, 135);
this.gridOwners.TabIndex = 0;
this.gridOwners.VisualStyle = Janus.Windows.GridEX.VisualStyle.Office2007;
// btnSelect
this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSelect.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnSelect.Image = global::HassanFaghihi.StatesInstitution.Forms.Properties.Resources.green_ok_icon_16px;
this.btnSelect.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnSelect.Location = new System.Drawing.Point(315, 3);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(75, 23);
this.btnSelect.TabIndex = 1;
this.btnSelect.Text = "انتخاب";
this.btnSelect.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnSelect.UseVisualStyleBackColor = true;
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
// btnCancel
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Image = global::HassanFaghihi.StatesInstitution.Forms.Properties.Resources.red_cross_icon_16px;
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnCancel.Location = new System.Drawing.Point(3, 3);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "خروج";
this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
// FindOwner
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(401, 210);
this.Name = "FindOwner";
this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
this.Text = "FindOwner";
this.Load += new System.EventHandler(this.FindOwner_Load);
this.panelContentPlaceHolder.ResumeLayout(false);
this.panelButtonPlaceHolder.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gridOwners)).EndInit();
this.ResumeLayout(false);
#endregion
private Janus.Windows.GridEX.GridEX gridOwners;
private System.Windows.Forms.Button btnSelect;
private System.Windows.Forms.Button btnCancel;
and here is my custom panel, regarding the issue, noted by microsoft
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite
public class ControlContainer:Panel
protected override void OnSizeChanged(EventArgs e)
if (this.Handle != null)
this.BeginInvoke((MethodInvoker)delegate
base.OnSizeChanged(e);Hi deadManN
I can see that you have panels within panels and this is causing the issue. I can also see that you're using the multi layer panels to give you borders.
I'm going to suggest that you modify the layout.
Here's what your original ButtonForm.Designer.cs looked like after some minor tweaks to get rid of errors:
using System.Drawing;
namespace HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite
partial class ButtonForm
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ButtonForm));
this.panelHeaderPadding = new WindowsFormsApplication1.ControlContainer();
this.panelHeader = new WindowsFormsApplication1.ControlContainer();
this.panelCloseButton = new WindowsFormsApplication1.ControlContainer();
this.panelMain = new WindowsFormsApplication1.ControlContainer();
this.panelContentPlaceHolder = new WindowsFormsApplication1.ControlContainer();
this.panelButtonPlaceHolderPadding = new WindowsFormsApplication1.ControlContainer();
this.panelButtonPlaceHolder = new WindowsFormsApplication1.ControlContainer();
this.panelHeaderPadding.SuspendLayout();
this.panelHeader.SuspendLayout();
this.panelMain.SuspendLayout();
this.panelButtonPlaceHolderPadding.SuspendLayout();
this.SuspendLayout();
// panelHeaderPadding
this.panelHeaderPadding.Controls.Add(this.panelHeader);
this.panelHeaderPadding.Dock = System.Windows.Forms.DockStyle.Top;
this.panelHeaderPadding.Location = new System.Drawing.Point(0, 0);
this.panelHeaderPadding.Name = "panelHeaderPadding";
this.panelHeaderPadding.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0);
this.panelHeaderPadding.Size = new System.Drawing.Size(500, 34);
this.panelHeaderPadding.TabIndex = 0;
// panelHeader
this.panelHeader.BackColor = System.Drawing.Color.White;
this.panelHeader.Controls.Add(this.panelCloseButton);
this.panelHeader.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelHeader.Location = new System.Drawing.Point(4, 4);
this.panelHeader.Name = "panelHeader";
this.panelHeader.Size = new System.Drawing.Size(492, 30);
this.panelHeader.TabIndex = 0;
// panelCloseButton
this.panelCloseButton.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panelCloseButton.BackgroundImage")));
this.panelCloseButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.panelCloseButton.Dock = System.Windows.Forms.DockStyle.Right;
this.panelCloseButton.Location = new System.Drawing.Point(462, 0);
this.panelCloseButton.Name = "panelCloseButton";
this.panelCloseButton.Size = new System.Drawing.Size(30, 30);
this.panelCloseButton.TabIndex = 0;
this.panelCloseButton.Click += new System.EventHandler(this.panelCloseButton_Click);
// panelMain
this.panelMain.Controls.Add(this.panelContentPlaceHolder);
this.panelMain.Controls.Add(this.panelButtonPlaceHolderPadding);
this.panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelMain.Location = new System.Drawing.Point(0, 34);
this.panelMain.Name = "panelMain";
this.panelMain.Padding = new System.Windows.Forms.Padding(4);
this.panelMain.Size = new System.Drawing.Size(500, 266);
this.panelMain.TabIndex = 0;
// panelContentPlaceHolder
this.panelContentPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelContentPlaceHolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelContentPlaceHolder.Location = new System.Drawing.Point(4, 4);
this.panelContentPlaceHolder.Name = "panelContentPlaceHolder";
this.panelContentPlaceHolder.Size = new System.Drawing.Size(492, 225);
this.panelContentPlaceHolder.TabIndex = 0;
// panelButtonPlaceHolderPadding
this.panelButtonPlaceHolderPadding.Controls.Add(this.panelButtonPlaceHolder);
this.panelButtonPlaceHolderPadding.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelButtonPlaceHolderPadding.Location = new System.Drawing.Point(4, 229);
this.panelButtonPlaceHolderPadding.Name = "panelButtonPlaceHolderPadding";
this.panelButtonPlaceHolderPadding.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0);
this.panelButtonPlaceHolderPadding.Size = new System.Drawing.Size(492, 33);
this.panelButtonPlaceHolderPadding.TabIndex = 1;
// panelButtonPlaceHolder
this.panelButtonPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelButtonPlaceHolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelButtonPlaceHolder.Location = new System.Drawing.Point(0, 4);
this.panelButtonPlaceHolder.Name = "panelButtonPlaceHolder";
this.panelButtonPlaceHolder.Size = new System.Drawing.Size(492, 29);
this.panelButtonPlaceHolder.TabIndex = 0;
// ButtonForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(500, 300);
this.Controls.Add(this.panelMain);
this.Controls.Add(this.panelHeaderPadding);
this.Font = new System.Drawing.Font("Tahoma", 8F);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ButtonForm";
this.Text = "Form1";
this.panelHeaderPadding.ResumeLayout(false);
this.panelHeader.ResumeLayout(false);
this.panelMain.ResumeLayout(false);
this.panelButtonPlaceHolderPadding.ResumeLayout(false);
this.ResumeLayout(false);
#endregion
private ControlContainer panelHeaderPadding;
private ControlContainer panelCloseButton;
private ControlContainer panelMain;
protected internal ControlContainer panelHeader;
private ControlContainer panelButtonPlaceHolderPadding;
protected internal ControlContainer panelContentPlaceHolder;
protected internal ControlContainer panelButtonPlaceHolder;
...and here's what it looks like after I modified it:
using System.Drawing;
namespace HassanFaghihi.StatesInstitution.Forms.Templates.CartoonBlackAndWhite
partial class ButtonForm
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ButtonForm));
this.panelTopBorder = new System.Windows.Forms.Panel();
this.panelBottomBorder = new System.Windows.Forms.Panel();
this.panelContentPlaceHolder = new WindowsFormsApplication1.ControlContainer();
this.panelHeader = new WindowsFormsApplication1.ControlContainer();
this.panelCloseButton = new WindowsFormsApplication1.ControlContainer();
this.panelButtonPlaceHolder = new WindowsFormsApplication1.ControlContainer();
this.panelHeader.SuspendLayout();
this.SuspendLayout();
// panelTopBorder
this.panelTopBorder.Dock = System.Windows.Forms.DockStyle.Top;
this.panelTopBorder.Location = new System.Drawing.Point(4, 34);
this.panelTopBorder.Name = "panelTopBorder";
this.panelTopBorder.Size = new System.Drawing.Size(492, 4);
this.panelTopBorder.TabIndex = 1;
// panelBottomBorder
this.panelBottomBorder.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelBottomBorder.Location = new System.Drawing.Point(4, 263);
this.panelBottomBorder.Name = "panelBottomBorder";
this.panelBottomBorder.Size = new System.Drawing.Size(492, 4);
this.panelBottomBorder.TabIndex = 2;
// panelContentPlaceHolder
this.panelContentPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelContentPlaceHolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelContentPlaceHolder.Location = new System.Drawing.Point(4, 34);
this.panelContentPlaceHolder.Name = "panelContentPlaceHolder";
this.panelContentPlaceHolder.Size = new System.Drawing.Size(492, 233);
this.panelContentPlaceHolder.TabIndex = 0;
// panelHeader
this.panelHeader.BackColor = System.Drawing.Color.White;
this.panelHeader.Controls.Add(this.panelCloseButton);
this.panelHeader.Dock = System.Windows.Forms.DockStyle.Top;
this.panelHeader.Location = new System.Drawing.Point(4, 4);
this.panelHeader.Name = "panelHeader";
this.panelHeader.Size = new System.Drawing.Size(492, 30);
this.panelHeader.TabIndex = 0;
// panelCloseButton
this.panelCloseButton.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panelCloseButton.BackgroundImage")));
this.panelCloseButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.panelCloseButton.Dock = System.Windows.Forms.DockStyle.Right;
this.panelCloseButton.Location = new System.Drawing.Point(462, 0);
this.panelCloseButton.Name = "panelCloseButton";
this.panelCloseButton.Size = new System.Drawing.Size(30, 30);
this.panelCloseButton.TabIndex = 0;
this.panelCloseButton.Click += new System.EventHandler(this.panelCloseButton_Click);
// panelButtonPlaceHolder
this.panelButtonPlaceHolder.BackColor = System.Drawing.Color.White;
this.panelButtonPlaceHolder.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelButtonPlaceHolder.Location = new System.Drawing.Point(4, 267);
this.panelButtonPlaceHolder.Name = "panelButtonPlaceHolder";
this.panelButtonPlaceHolder.Size = new System.Drawing.Size(492, 29);
this.panelButtonPlaceHolder.TabIndex = 0;
// ButtonForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(500, 300);
this.Controls.Add(this.panelTopBorder);
this.Controls.Add(this.panelBottomBorder);
this.Controls.Add(this.panelContentPlaceHolder);
this.Controls.Add(this.panelHeader);
this.Controls.Add(this.panelButtonPlaceHolder);
this.Font = new System.Drawing.Font("Tahoma", 8F);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ButtonForm";
this.Padding = new System.Windows.Forms.Padding(4);
this.Text = "Form1";
this.panelHeader.ResumeLayout(false);
this.ResumeLayout(false);
#endregion
private ControlContainer panelCloseButton;
protected internal ControlContainer panelHeader;
protected internal ControlContainer panelContentPlaceHolder;
protected internal ControlContainer panelButtonPlaceHolder;
private System.Windows.Forms.Panel panelTopBorder;
private System.Windows.Forms.Panel panelBottomBorder;
I removed the padding panels and set the header and footer panels to dock top and dock bottom. I then set the forms padding to 4 so that you get your desired black border around the outside and added two 4 pixel high panels docked to top and bottom
to give you the desired border between header, content and footer panels.
Mick Doherty
http://dotnetrix.co.uk
http://glassui.codeplex.com -
Reset Form button showing as Submit Form button?
Hello....
I have run into an odd issue that I can not figure out. For the past year, I have been creating and manually distributing various forms to our Sales Engineering group and outside partners. These forms are all designed from a common template we developed that includes a standard “Reset Form” button. Upon sending out a new form, I received an email with a screen shot that showed the Reset Form button as “Submit Form”. The partner went on to say that they thought it was the same as another form they have from me, which also shows a Reset Button as “Submit Form”
The end user states they are using Adobe 8.1.4. The forms were developed (9 Pro) LC Designer ES 8.2 and are set to be 8.0 or higher compatible. This is the first time I have heard of this and cannot figure out the cause. The label on the canned button itself is being changed from Reset to Submit.
Does anyone have any thoughts as to what would cause this and how to correct? I can not assume that this is the only time this has happened, but it is the first I am hearing of it.
Thank you and my apologies if this should have gone to another forum group
Chris Link, CTS, EAVA
Sr. Design EngineerI have not heard of this before .....can you send the template to [email protected] so I can investigate? Please include a description of the issue in the email.
Paul -
How do I remove the Submit Form button?
I am using Acrobat Pro 9 with LiveCycle. I have created an interactive form and did not include a button to e-mail the form. When the distributed form is opened, there is a purple bar across the top with instructions to click "Submit Form" and "Highlight Fields" and "Submit Form" buttons. I do not want this form e-mailed back to me. It just needs to be saved by the user and uploaded at a later time. Saving it after the user fills in the fields is not the issue. That is working fine. But the user may be confused by a button saying they should submit the form. Plus it is my e-mail address in the field and I don't want all these forms showing up in my e-mail box. This happens whether I choose to distribute it with "Automatically download..." or "Manually collect..."
Does anyone know what can be done to prevent the form from displaying the "Submit Form" button?
Also, one user did get get a warning when saving about that not being the optimal way to send the data. I believe it said to press submit form. I'm sorry, I was not relayed the exact warning, but it was something to that effect. It did, however, save correctly.Pzaidel: YOU are a freakin genius. Great suggestion-worked perfectly! Here's how I did it with a form created in Indesign:
Do entire backgrnd layout in Indesign-convert to regular PDF.
Open New doc in LC-standard way-create all fields.
After completion when you open it in Adobe Acrobat, you will see the "Submit Form" at the top next to "Highlight existing fields".
Go back to your LiveCycle doc and:
Highlight and ctrl+c copy all fields onto clipboard. [I don't think there is an option to copy fields anywhere within LC]
Do as Pzaidel suggests above: create new LC form [you cannot avoid selecting interactive form....but didn't seem to matter].
Import your PDF layout from InDesign [or word].
THEN Paste all fields back into form.
TA DA! No submit button.
AND after importing and placing all fields, I even included a print button that works on the bottom of the form so anyone could see-it must be printed and cannot be submitted-at least by a button.
Thanks so much for the fix!! -
Problem with JavaScript in my PDF Form buttons
I am trying to have my user click on a button in my form on my website and e-mail the form data to me.
I am using the following JavaScript with my form button:
this.mailForm(false, "[email protected]", "", "", "Subject", "Message Body");
Protected mode is off.
When I use the above statement (whether the 1st parameter is set to true or false), nothing happens – no email gets sent and no mail dialog box appears. If I change from this.mailForm(...) to this.mailDoc(...), I get a mail dialog box but, as expected, it sends the blank form without the filled-in data due to low user privileges.
How can I send the form data with this.mailForm(...)? (Note that I prefer to use this.mailForm(...) rather than mailto:(...) because this.mailForm(...) supposedly allows me to e-mail the form without user interaction.)
-- DonThanks for responding. I have been using “Submit a form” in the Mouse up event. I had that operation do a mailto: and it worked, but required user interaction on the part of the web page visitor. I have successfully created an equivalent JavaScript including:
var url = "mailto:[email protected]?subject=mySubject&body=MyMessage";
this.submitForm(url, true);
The above sent the FDF file successfully, but again, it required user interaction.
Then I tried this JavaScript - as I mentioned in a previous post - after you said to use doc.submitForm():
var url = "http://mydomain.com/submit_notice.php";
doc.submitForm(url, false);
The above script seemed to do nothing (with no error message). Shouldn't it bring up the PHP file in the web browser?
I have that php file, submit_notice.php, created, but I have not written any PHP scripts to e-mail the FDF file. I have never written a PHP script to take the posted FDF data and email it, but I have used the PHP mail() function and posted variables.
As for what I want to happen on the client side after the submit takes place: I simply want the FDF file to go to an e-mail that I specify. Additionally, I need it to happen without any client interaction on the part of the web page visitor. I can expect that visitor to have Adobe reader, but no add-ons or protected mode requirement.
Please give me an example that emails the FDF file without any user interaction.
Thank you.
-- Don -
How do I add a user command to a Adobe Form Button?
Hi,
I want to add a user command to a Adobe Form button, but have no idea how to do it? (Since the material I have only mentioned how to do it by using JSP pages). This is a question comes from PCR. Thanks.Formscentral does not support forms with digital signature workflows. I suggest you see if our Echosign product meets your needs.
-
I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
ThanksYou can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
Refer to the attached sample below.
https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
Thanks
Srini -
My wife's brand new iphone4 (which was a replacement for a 4month-old iphone4 with home button issues) is not recognized by itunes. Every other ios device on the computer/Apple ID in question is recognized and syncs perfectly. Any suggestions?
If the new phone has already been setup, make sure the phone and iTunes are both set to the same account.
You might also have to authorize this computer for the new device under the store menu. -
I am having trouble submitting information via form buttons. I click on the button but nothing happens. It isn't site specific and is a problem that has only started to happen recently. I have uninstalled firefox and reinstalled it without any rememdy. The problem does not replicate itself in Chrome or Internet Explorer. Can anyone advise what maybe the problem? Is it s a javascript setting within firefox that I may have accidentally turned off? Please help.
Thank you for the help but I found the answer here: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&comments_parentId=601699&forumId=1
I am pretty sure you had the same diagnosis and solution to start it in safe mode, and if it does work, go disabling each extension one by one until you determine which extension is the culprit.
Thanks! -
When I try to use the Submit Form button on the Interactive PDF I created (In Design CS6), I get this message:
There is no value in form field "Program." Please put in it before proceeding.
How can I fix this and make the Submit Form button work?Are you running modified software on your phone? This error seems to be common if the firmware has been modified and you're trying to restore the phone again.
Maybe you are looking for
-
Cannot do a hard reset of my lumia 920
Hi Everyone, My lumia 920 keeps on booting(shows spinning levers) after i did a software update.so i thought of doing a hard reset since i could not see or do anything on my phone.Following are the steps i tried: pressing volume down + the power butt
-
I want to use PS CC With intel i5, with Intel® HD Graphics 4600 IGP, can I use the videocard specific features with this? Like I using a dedicated GPU, just slower of course.
-
Just upgraded to Reader X. Program freezes and will not allow me to keyboard. The save button on the toolbar is dimmed as if the program is in a constant state of saving. I've uninstalled and reinstalled the program 3 times ... a major pain. I am
-
hey everyone... so i know i can burn dvd's on my powerbook i've done it before. but i forget it i need to get dvd+r's or dvd-r's at the store. in my system profiles it says my drive is a matshita dvd-r uj-816. any thoughts? oh...if it makes a differe
-
Does the dm1-4050us support an upgrade to an 8GB DIMM?
So far the dm1-4050us has been a great purchase, I have really enjoyed the excellent battery life with i3 performance. However I find that having more memory would be ideal for the types of applications that I run, such as software development tools