AnsweredAssumed Answered

vrf How can I get rid of file path info?

Question asked by warren.pickles on Dec 2, 2004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><META content=Word.Document name=ProgId><META content="MSHTML 6.00.2900.2523" name=GENERATOR><META content="Microsoft Word 11" name=Originator><LINK href="cid:filelist.xml@01C4D85F.75B97E40" rel=File-List><LINK href="cid:editdata.mso" rel=Edit-Time-Data><!--[if !mso]><STYLE>v:* {     BEHAVIOR: url(#default#VML)}o:* {     BEHAVIOR: url(#default#VML)}w:* {     BEHAVIOR: url(#default#VML)}.shape {     BEHAVIOR: url(#default#VML)}</STYLE><![endif]--><o:SmartTagType name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings>  <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings></xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument>  <w:SpellingState>Clean</w:SpellingState>  <w:GrammarState>Clean</w:GrammarState>  <w:DocumentKind>DocumentEmail</w:DocumentKind>  <w:EnvelopeVis/>  <w:ValidateAgainstSchemas/>  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument></xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles></xml><![endif]--><!--[if !mso]><STYLE>st1:* {     BEHAVIOR: url(#default#ieooui)}</STYLE><![endif]--><STYLE>@font-face {     font-family: Tahoma;}@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }P.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"}LI.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"}DIV.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"}A:link {     COLOR: blue; TEXT-DECORATION: underline; text-underline: single}SPAN.MsoHyperlink {     COLOR: blue; TEXT-DECORATION: underline; text-underline: single}A:visited {     COLOR: #606420; TEXT-DECORATION: underline; text-underline: single}SPAN.MsoHyperlinkFollowed {     COLOR: #606420; TEXT-DECORATION: underline; text-underline: single}SPAN.emailstyle17 {     COLOR: windowtext; FONT-FAMILY: Arial; mso-style-name: emailstyle17; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial}SPAN.EmailStyle19 {     COLOR: navy; FONT-FAMILY: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; mso-style-type: personal-reply; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt}SPAN.GramE {     mso-style-name: ""; mso-gram-e: yes}DIV.Section1 {     page: Section1}</STYLE><!--[if gte mso 10]><style> /* Style Definitions */  table.MsoNormalTable     {mso-style-name:"Table Normal";     mso-tstyle-rowband-size:0;     mso-tstyle-colband-size:0;     mso-style-noshow:yes;     mso-style-parent:"";     mso-padding-alt:0in 5.4pt 0in 5.4pt;     mso-para-margin:0in;     mso-para-margin-bottom:.0001pt;     mso-pagination:widow-orphan;     font-size:10.0pt;     font-family:"Times New Roman";     mso-ansi-language:#0400;     mso-fareast-language:#0400;     mso-bidi-language:#0400;}</style><![endif]--></HEAD><BODY lang=EN-US style="tab-interval: .5in" vLink=#606420 link=blue><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>Hi Ken,</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>sometimes you want to resize or move a panel (user function). Therfore you can use the panel functions. These functions require the panel name as a parameter and so it would be nice to have a kind of 'self' object that would reflect some information about the panel like the title for example. </SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>For example the expression HidePanel(self.Name) could hide the active panel. This formula could be copied to another function or the user functions title could be changed without the danger that the developer forgets to change the reference to the user functions name as well. </SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>What else?  Ok if I could read the title, why not change it on runtime (of course this must be independent from the function name). Reason: when I develop a dialog it would be nice to set the title on runtime to set some information on it depending on the dialog contents. So I could reuse some code for different subjects.</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>Furthermore I would like to have a window handle to the panel. One can do really fancy things with this handle </SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>All in all I would like to access all (or most) of those parameters at runtime that I can access during development. </SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>Was that understandable?</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004>Georg</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=961432221-02122004></SPAN></FONT> </DIV><BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma   size=2>-----Original Message-----<BR><B>From:</B> COLASUONNO,KEN   (A-Loveland,ex1) [mailto:ken_colasuonno@agilent.com]<BR><B>Sent:</B> Thursday,   December 02, 2004 7:10 PM<BR><B>To:</B> VRF<BR><B>Subject:</B> [vrf] Re: Get   the Title<BR><BR></FONT></DIV>  <DIV class=Section1>  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Help me understand   how this would be used so that I can better understand what the implementation   looks like.<SPAN style="mso-spacerun: yes">  </SPAN>For instance, I was   wondering what else besides the UF/UO title you would want to get   at.<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Ken<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>  <DIV>  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT   face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">  <HR tabIndex=-1 align=center width="100%" SIZE=2>  </SPAN></FONT></DIV>  <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN   style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT   face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">   <st1:PersonName w:st="on">g.nied@gn-software.de</st1:PersonName>   [mailto:<st1:PersonName w:st="on">g.nied@gn-software.de</st1:PersonName>]   <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, December 02,   2004 9:47 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>   VRF<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [vrf] Re: Get   the Title</SPAN></FONT><o:p></o:p></P></DIV>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN   style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Sren,<o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">afaik there   is no easy way to read out the name of the user function. And there is even no   comlicated way (like the Win API or so) that I know of. Only if the developers   at Agilent would give out some internal information on how user functions are   stored internally there would be such a (useful)   possibility!<o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Georg<o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></FONT></P></DIV>  <DIV>  <P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN   style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></FONT></P></DIV>  <BLOCKQUOTE   style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">    <TABLE class=MsoNormalTable     style="BACKGROUND: #dfdfdf; WIDTH: 99%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"     cellSpacing=0 cols=2 cellPadding=0 width="99%" bgColor=#dfdfdf border=0>      <TBODY>      <TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes" borderColor=#dfdfdf       borderColorLight=#dfdfdf>        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 3pt; PADDING-BOTTOM: 2.25pt; WIDTH: 1.25in; PADDING-TOP: 2.25pt"         width=120>          <DIV>          <P class=MsoNormal><B><FONT face=Arial color=black size=1><SPAN           style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial">Original           Message      <o:p></o:p></SPAN></FONT></B></P></DIV></TD>        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in">          <DIV>          <P class=MsoNormal style="TEXT-ALIGN: right"           align=right><STRONG><B><FONT face=Arial color=gray size=1><SPAN           style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial"> processed           by Tobit InfoCenter</SPAN></FONT></B></STRONG><FONT face=Arial           color=black size=1><SPAN           style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></P></DIV></TD></TR>      <TR style="mso-yfti-irow: 1">        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 3pt; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; WIDTH: 60pt; PADDING-TOP: 0in"         width=80 bgColor=#efefef>          <DIV>          <P class=MsoNormal><B><FONT face=Arial color=black size=1><SPAN           style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial">Subject: <o:p></o:p></SPAN></FONT></B></P></DIV></TD>        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; PADDING-TOP: 0in"         bgColor=#efefef>          <P class=MsoNormal><FONT face=Arial color=black size=2><SPAN           style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">[vrf] Get           the Title (02-Dez-2004 16:32)<o:p></o:p></SPAN></FONT></P></TD></TR>      <TR style="mso-yfti-irow: 2">        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 3pt; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; WIDTH: 60pt; PADDING-TOP: 0in"         width=80 bgColor=#efefef>          <DIV>          <P class=MsoNormal><B><FONT face=Arial color=black size=1><SPAN           style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial">From:    <o:p></o:p></SPAN></FONT></B></P></DIV></TD>        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; PADDING-TOP: 0in"         bgColor=#efefef>          <P class=MsoNormal><FONT face=Arial color=black size=2><SPAN           style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><A           href="mailto:soren.forsmark@elc.stoneridge.com">soren.forsmark@elc.stoneridge.com</A><o:p></o:p></SPAN></FONT></P></TD></TR>      <TR style="mso-yfti-irow: 3; mso-yfti-lastrow: yes">        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 3pt; BACKGROUND: #efefef; PADDING-BOTTOM: 3pt; WIDTH: 60pt; PADDING-TOP: 0in"         width=80 bgColor=#efefef>          <DIV>          <P class=MsoNormal><B><FONT face=Arial color=black size=1><SPAN           style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial">To:      <o:p></o:p></SPAN></FONT></B></P></DIV></TD>        <TD         style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; BACKGROUND: #efefef; PADDING-BOTTOM: 3pt; PADDING-TOP: 0in"         bgColor=#efefef>          <P class=MsoNormal><FONT face=Arial color=black size=2><SPAN           style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><A           href="mailto:vrf@agilent.com">vrf@agilent.com</A><o:p></o:p></SPAN></FONT></P></TD></TR></TBODY></TABLE>    <DIV>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>    <P class=MsoNormal><FONT face=Arial size=2><SPAN     style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello!</SPAN></FONT><o:p></o:p></P>    <P class=MsoNormal><FONT face=Arial size=2><SPAN     style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there anyone knowing a way of     getting the title of the user function with some simple     command?</SPAN></FONT><o:p></o:p></P>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>    <P class=MsoNormal><FONT face=Arial size=2><SPAN     style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank's</SPAN></FONT><o:p></o:p></P>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>    <P class=MsoNormal><FONT face=Arial size=2><SPAN     style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">//Sren     Forsmark</SPAN></FONT><o:p></o:p></P>    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN     style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></BLOCKQUOTE>  <DIV>  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><BR><BR>To:   soren.forsmark@elc.stoneridge.com<BR>    vrf@agilent.com<o:p></o:p></SPAN></FONT></P></DIV>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN   style="FONT-SIZE: 12pt">---<BR>You are currently subscribed to vrf as:   ken_colasuonno@agilent.com<BR>To subscribe send a blank email to   "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to   "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,   email "vrf@agilent.com". <BR>If you need help with the mailing list send a   message to "owner-vrf@it.lists.it.agilent.com".   <o:p></o:p></SPAN></FONT></P></DIV>---<BR>You are currently subscribed to vrf   as: g.nied@gn-software.de<BR>To subscribe send a blank email to   "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to   "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,   email "vrf@agilent.com". <BR>If you need help with the mailing list send a   message to "owner-vrf@it.lists.it.agilent.com". </BLOCKQUOTE>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>  

Outcomes