When _width is width
I have possibly misunderstood but:
A set of child movieclips acting as buttons is positioned the
data created in an object
buttonDetails.xPos =
target.panel_txt._x+(target.panel_txt.width/2)+1
In this, width is incorrect and should , of course, be
_width. However the code worked correctly with the button being
placed where is should have been. This was with UIScrollBar added
to the main library.
I decided to remove the UIScrollBar and create my own
scroller. As soon as I did this my buttons ended up on top of each
other and not spaced out as they should be. After an hour of
tracing and swearing I have come to the conclusion that UIScrollBar
must create a width property for all text boxes (the box concerned
did not have the scroller attached. Now I know the UIScrollBar has
a width (not _width) property but I didn't know that it added the
width property to all text boxes.
Am I right? Has anyone else found that stuff that you would
expect to be unaffected is messed up when you remove a component.
My conclusion is to avoid using components at all since I am not
expert enough to know what they are doing to my movie.
Any thoughts?
I think one or two things could be causing the problem.
1. Your DAQmx write is set for 1 sample. I don't know how that dynamic signal type works with such a setting. Perhaps it is just putting out the first sample of the signal that is generated.
2. The math for the frequency of the square wave does not make sense. You are adding a pulse delay with the pulse period, then inverting it to get the frequency. So a 1 second delay with 1 second pulse is a 1/2 Hz wave. A 4 second delay with a 2 second pulse would be a 1/6 Hz wave. That doesn't make sense to me.
I would recommend building your own waveform or array and not using the express VI. If you have a 1000 Hz frequency established let's say, build a 1000 element array. For a .1 second pulse, set replace 100 of those elements with a 100 element array of the voltage value you want. You can index it wherever you want in the array to account for whatever delay you want. If you want a 1 msec pulse, then just replace a single element of that array wherever you want.
Similar Messages
-
In the DAQmx 9.4 Readme the following is stated:
Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
/molaAre there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?
-
Photoshop cs4 crashing when using certain width of a brush
Hi, my 2 year old photoshop cs4 has been always inexplicably crashing the moment I would try to use a 70 pxl brush... I learnt to work aroud it, but just yesterday another similar problem kicked in, when using the short keys to widen or narrow the width of the brush, the moment it hits 30 pxls photoshop crashes too. I can't work like that. I hit option-command-shift to open the program to reset, nothing. I reinstalled the whole cs4 several times, nothing. I downloaded, installed the updates for the program. Nothing. All still the same... Any solutions? Thanks!
OS is
Mac OS X Lion 10.7.5 (11G63)
Photoshop
CS4 11.0.2
I reported the crash over a yer ago regarding the 70 pxl issue but nobody ever came back to me...
thanks -
Error when compiling form - width of content canvas error
Hello everyone,
I was compiling my form in Designer and I got the erro message below - I have checked the content canvas width which I had set to 80 which has worked with other forms.
CDG-01364 ERROR: Module CDS0010F: Available width on content canvas 2 (-199) less than minimum allowable width (450)
Any help would be appreciated.
CathyI HAVE FOUND THE SOLUTION. I WAS HITTING A BUG. GO THROUGH THE FOLLOWING DOCUMENT AND YOU WILL ALSO BE ANSWERED.
Bug No. 1354393
Filed 13-JUL-2000 Updated 10-DEC-2001
Product Oracle Designer/2000 Product Version 6.5.40.3.0
Platform Intel Windows NT Platform Version No Data
RDBMS Version 8.1.6.1 Affects Platforms Generic
Priority Severe Loss of Service Status Code Bug (Response/Resolution)
Base Bug N/A Fixed in Product Version No Data
Problem statement:
CANT GENERATE MC ON CONTENT CANVAS FOLLOWED BY TABBED CANVASES
*** 07/13/00 03:16 am ***
This may possibly be related to bug #1132350.
I have a module with 3 module components.
I want the 1st mc displayed on the content canvas. Placement = New Content
Canvas.
I want the 2nd and 3rd mc's displayed on tabbed canvases below the 1st mc.
Placement = New Tab Canvas Page.
I was able to generate this module with Des6.0
With Des6i, when I attempt to generate I get the message:
CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
has NOT been created
The module will only generate if I set all 3 mc's to Placement = New Tab
Canvas Page.
*** 07/14/00 08:35 am *** (CHG: Asg->NEW OWNER)
*** 07/14/00 08:38 am *** (CHG: FixBy->6.5.40)
*** 07/20/00 03:37 am *** (CHG: Sta->31)
*** 07/20/00 03:37 am ***
Module as described above generates correctly in version 6.5.29
Please supply a testcase which reproduces your problem.
*** 07/27/00 12:16 am ***
I have supplied a test-case to DPUSCEDD as requested.
*** 08/03/00 01:58 am *** (CHG: Sta->11)
*** 08/03/00 01:58 am ***
Test case supplied to dpuscedd.
See Headstart demo application hsd0016f.
*** 08/04/00 04:03 am *** (CHG: Asg->NEW OWNER)
*** 08/16/00 08:59 am *** (CHG: Sta->31)
*** 08/16/00 08:59 am ***
hsd0016f generates without error using D32 code.
Appears to run and be laid-out OK too (but for a minor problem with the
default menu)
FYI message output as follows:
Form Generator (Windows 95/98/NT) : Version 6.5.34.2.0 - Production on Wed Aug
16 16:56:37 2000
Generating Module 'HSD0016F' (1 of 1)
Loading form template from file system
(t:\cgenf\723200\CGENF61\ADMIN\ofgwebt.fmb)
Loading object library from file system
(t:\cgenf\723200\CGENF61\ADMIN\ofgwebol.olb)
Generating new form module and saving to file system (D:\TESTING\HSD0016F.FMB)
Compiling form executable file (D:\Testing\HSD0016F.fmx) ...
Running Form Builder executable file...
*** 08/16/00 09:00 am ***
CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
any usages set against it
CDG-01077 WARNING: Window HSD0016F.WINDOW: Implementation source object
QMSSO$WEB_TOOLBAR_WINDOW of correct type not found in Object Library
CDG-00037 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
not allow vertical scrollbars
CDG-00038 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
not allow horizontal scrollbars
CDG-01242 WARNING: Bound Item HSD0016F.EMP.ID: HSD_EMPLOYEES.ID enabled and
navigable to allow scrolling on queried values
CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01092 WARNING: Module Component HSD0016F.SUB: Content canvas items will
not be aligned with tab content canvas items
*** 08/16/00 09:00 am ***
CDG-01427 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: FK
HSD_EMP_EMP_FK1 considered mandatory in order to link blocks based on tables
HSD_EMPLOYEES and HSD_EMPLOYEES
CDG-01316 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
constraint HSD_EMP_EMP_FK1 in HSD_EMPLOYEES has no enterable items or lookups
CDG-01157 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
item(s) in HSD_EMPLOYEES not enterable; those in lookup not a unique key
CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01092 WARNING: Module Component HSD0016F.PEM: Content canvas items will
not be aligned with tab content canvas items
CDG-03446 WARNING: Module Component Table Usage
HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Optional constraint 'HSD_PAS_UK1'
contains mandatory column
CDG-01258 WARNING: Module Component Table Usage
HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Missing mandatory column RATE in
usage of table
CDG-01316 WARNING: Foreign Key
HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key constraint
HSD_PAS_EMP_FK1 in HSD_PROJECT_ASSIGNMENTS has no enterable items or lookups
CDG-01157 WARNING: Foreign Key
HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key item(s) in
HSD_PROJECT_ASSIGNMENTS not enterable; those in lookup not a unique key
CDG-01029 WARNING: Unbound Item HSD0016F.PEM.CRI: Visual Attribute
CG$CURRENT_RECORD not found in template form
CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Making item
L_PRJ_ID the first item in List of Values 'CGFK$PEM_PRJ_ID'
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
first item in List of Values 'CGFK$SUB_DEP_ID'
Generation of Module 'HSD0016F' Successful
*** 08/16/00 09:01 am ***
CDG-03500 WARNING: The Generator could not save adjustments to
invalid/unspecified properties
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.EMP: Set the Overflow
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.HIRE_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Overflow
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Height
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View
Height property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the X Position
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the Y Position
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.HIRE_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the Height
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the View
Height property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the X
Position property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the Y
Position property to a default value
CDG-03466 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.ID: Set Insert property
to No because item based on derived column
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.START_DATE: Set the Width
property to a default value
*** 08/16/00 09:02 am ***
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.END_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_START_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_END_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
Set the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
Set the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Set the
Query ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
Set the Insert ? property to a default value
Generation Complete
*** 09/20/00 08:19 pm *** (CHG: Sta->91)
*** 10/26/00 05:14 am *** (CHG: Sta->11)
*** 10/26/00 05:14 am ***
I have re-opened this bug as I am still able to reproduce the problem with
Designer 6i Release 2.
Test case is Headstart Demo application form HSD0016F.
I noticed that when you generated the form above, you did not use the
Headstart object library, but used the Designer object library instead.
Could you try generating the form using the Headstart object library and
template package.
The version of headstart you have has the workaround in place in this form.
Therefore, you will need to edit the module before you generate it.
In the module componenet EMP, change the Placement property from New Tab
Canvas Page to New Content Canvas.
(Due to another bug, you should also blank out the height on all displayed
columns of type date or datetime in all 3 module components.)
Generate the module.
I get the following results:
Form Generator (Windows 95/98/NT) : Version 6.5.40.3.0 - Production on Thu Oct
26 14:05:07 2000
Generating Module 'HSD0016F' (1 of 1)
Loading form template from file system
(C:\Headstart\hsd65\hst\admin\qmstpl65.fmb)
Loading object library from file system
(C:\Headstart\hsd65\hst\admin\qmsolb65.olb)
CDG-01382 WARNING: Module HSD0016F: Expanding popup 2 to fit 10 row(s)
************ this is the problem ********************
CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
has NOT been created
************ end of problem ********************
CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
any usages set against it
...various other warnings...
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
first item in List of Values 'CGFK$SUB_DEP_ID'
Generation of Module 'HSD0016F' Successful
Generation Complete
*** 10/30/00 12:58 am *** (CHG: FixBy->6.5.60)
*** 12/21/00 07:34 am *** (CHG: Asg->NEW OWNER)
*** 01/22/01 04:52 am *** (CHG: DevPri->1)
*** 01/24/01 11:40 am ***
I have finally been able to pin down why this is happening with Headstart
generated applications and not with applications using the default Designer
object library.
In our object library, the standard source object CGSO$BLOCK has a number of
block level triggers, and one item. These are standard and need to be on
every 'normal' block generated with Headstart.
However, this makes it impossible to generate a form with block 1 on the
content canvas followed by 2 or more blocks on tabbed canvases on the same
page.
If I remove the block level triggers and item, I can generate this form
(though of course this is useless to me because I lose all Headstart
functionality).
Furthermore, if I try to explicitly direct Designer to use another object from
the object library, by recoding a Template/Library Object on the module
components, the form generator ignores this and uses CGSO$BLOCK anyway.
Suggested workaround:
- copy qmsolm65.fmb and qmsolb65.olb to another name (e.g. qmswrkrn.fmb and
qmswrkrnd.olb
- in qmswrkrn.fmb add a new block, qmsso$save_triggers. Make this block an
exact copy of cgso$block including triggers and item.
- change the blocks that used to subclass from cgso$block to now subclass from
qmsso$save_triggers
- in cgso$block, remove the triggers and item
- generate the qmswrkrnd.olb object library
- for each module in Designer that requires the blocks on tab layout, go to
the form level preferences and set the standard object library to qmswrkrn.olb
- generate the form(s)
- do a post-generation modification to subclass the data blocks from the
qmsso$save_triggers block
I'm glad to see you've raised the Development Priority to 1. This is probably
the single most popular layout for a master with multiple details, and it is
really crippling not to be able to generate this layout. We are already
getting complaints from our beta clients.
Just a reminder, you can duplicate this bug using the Headstart demo
application form hsd0016f. You must change module component EMP to use layout
style 'New Content Canvas'. (It is currently set to New Tab Page.) You must
also be sure to use the Headstart object library and template form when you
generate.
*** 01/25/01 07:05 am ***
Found a much simpler workaround! In object library maintenance form
qmsolm65.fmb, set Visible property of cgso$block.qms$block_info to Yes. Then
re-create qmsolb65.olb object libary. Form will now generate.
Since this is the second problem we have found in Headstart related to having
a hidden item in cgso$block, for Headstart 6i I am eliminating this item.
In the meantime, use this workaround for Headstart 6i beta and for Patch 13.
*** 03/02/01 06:18 am *** (CHG: Asg->NEW OWNER)
*** 12/07/01 08:58 am *** (CHG: FixBy->9.1 DevPri->3)
*** 12/10/01 05:28 am *** (CHG: DevPri->5)
*** 12/10/01 08:51 am *** (CHG: FixBy->0) -
I want the tabs to auto-size/shrink when the tab bar width is full as opposed to adding the annoying extra step of navigation arrows...
any suggestions?Suggestion:<br /> https://addons.mozilla.org/en-US/firefox/addon/custom-tab-width/
-
Jagged lines when using Stroke Width Tool
Hello,
So I upgraded to CS6 and since then the stroke width tool does not seem to behave properly.
I sometimes, not all the times, get jagged lines when I try to adjust the stroke width.
Any idea what's causing this?Looks like its duplicating profile points, but that may be entirely a precision error with your mouse clicks....
Mylenium -
DAQMx has no output when the pulse width is less than 0.1sec
Hi,
I am developing a application to generate square wave(voltage) and out put from a DAQMx card (PCI-6723 - 32 point analog in/out). I attache a simplified code (labview8.5) I wish somebody can help me to figure out what is the problem
When I set pulse width longer than 0.1 sec. everything works fine. If I set the pulse width less than 0.1 sec, the output from DAQ eithet gets nothing or incorrect(I used a Osclliscope to monitor the DAQ output), although my labview monitor showed correct output. I wonder if it is a sampling issue of the DAQ card.
Thanks
Guang
Attachments:
test21.vi 69 KBI think one or two things could be causing the problem.
1. Your DAQmx write is set for 1 sample. I don't know how that dynamic signal type works with such a setting. Perhaps it is just putting out the first sample of the signal that is generated.
2. The math for the frequency of the square wave does not make sense. You are adding a pulse delay with the pulse period, then inverting it to get the frequency. So a 1 second delay with 1 second pulse is a 1/2 Hz wave. A 4 second delay with a 2 second pulse would be a 1/6 Hz wave. That doesn't make sense to me.
I would recommend building your own waveform or array and not using the express VI. If you have a 1000 Hz frequency established let's say, build a 1000 element array. For a .1 second pulse, set replace 100 of those elements with a 100 element array of the voltage value you want. You can index it wherever you want in the array to account for whatever delay you want. If you want a 1 msec pulse, then just replace a single element of that array wherever you want. -
Possible bugs when adjusting column width in Query Builder
Good morning,
we use Oracle SQL Developer 3.2.20.09 with included JDK on Windows 7 32 bit.
When we open a sql file, in the Query Builder the criteria columns don't auto-adjust accordingly with the length of text present in the columns.
Also, if we modify or type a new criteria in a column, and immediately after drag the column header to widen the cell, the cell content is erased (if we click first in another cell the problem doesn't occur).
Thanks for reading and best regards.
Marco - ItalyHi Marco,
Please note that SQL Developer has included a Query Builder from a third-party since the 3.0 release. I will ping the developer that acts as liaison; perhaps you will get a more definitive response. I can only assume any UI bugs would have to be fixed by the third-party company at his request.
Regards,
Gary
SQL Developer Team -
Chart Lines Dissapearing When Line Width Less than .38pt
I have a Line Chart with about 70 different series. As you can imagine, it gets pretty crowded. In SQL server 2005, I was able to set the line width to .25pt, but when I try to do the same in 2012, the lines disappear! The smallest line width that I can
get to show up is .38.....If anyone out there knows why this happens, I would really appreciate a hint. I've tried everything from messing with the markers to the empty point settings...
ThanksHi Scott,
I am able to reproduce your scenario that when the line width with less than or equal to 0.375pt, they will all disappear in the line chart in my test environment. Based on my research, it seems to be the particular render extensions which cannot display
the narrow lines in line chart. However, if we export the report into PDF, the all lines which narrow than 0.375pt will appear in the report. I think this is by design.
I would suggest you submitting a wish at
https://connect.microsoft.com/SQLServer/Feedback.
Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Swf = stage width in Dreamweaver
I created a Flash navigation bar with the bar = stage width
and button elements centered. Works fine in Test Movie mode or
Flash Player, but tried to insert Flash movie into Dreamweaver HTML
page as the header nav bar and the Flash file stays same size and
does not expand in width to fit stage width. Any
suggestions?I tried that and it didn't work. This is the Actionscript
Flash code for the nav bar. Stage.scaleMode = "noScale";
Stage.align = "TL";
bar._width = Stage.width;
dots2._x = Stage.width-200;
menu_bar._x = (Stage.width/2);
symmlog._x = (Stage.width/2);
basebar._x = (Stage.width/2);
stageListener = new Object ();
stageListener.onResize = function(){
Stage.align = "TL";
bar._width = Stage.width;
dots2._x = Stage.width-200;
menu_bar._x = (Stage.width/2);
symmlog._x = (Stage.width/2);
basebar._x = (Stage.width/2);
Stage.addListener( stageListener );
The bar itself stretches to fill stage width at any screen
size, the buttons and logo center in the middle of the bar at any
size. When I add the swf file to Dreamweaver, the size of the nav
bar does not stretch to fill the stage width. The addition of the
above code seemed to make no difference. Is there anything else I
could try? -
Print the report on page has width larger than height and not landscape mode
Hi,
I'm trying to print report on page (Width: 18cm, Height: 13cm) which the width larger than the height.
The problem is windows keeps changing the page oreintation to landscape and when I change it back to portrait its changing the width to 13cm and height to 18cm.
I'm using dot matrix printer to print the report, if i put Landscape , printer is printing the text in horizontal.
Already i have tried to setup the custom for on printer, and used custom page size but it is changing to landscape.
I need to print the report with out preview, direct print top printer, NO PDF....
Thank you .....Hi Anil,
After testing the issue in my environment, I can reproduce it. When I set (Width: 18cm, Height: 13cm) as the Report Page size, it would automatically convert Orientation from Portrait to Landscape. Because the Orientation displayed is dependent on the page
width and page height of the report.
But in my scenario, the Orientation option just change the Width and Height sizes, it couldn’t affect the text rotation. I guess this issue can be caused by the printer and printer driver, please try to update them. Reference:
http://stackoverflow.com/questions/15244336/printing-in-landscape-or-portrait-automatically-rotates-text-ssrs?lq=1
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Problem with automated height/width after applying effect
Hey guys,
I have a panel that automatically resizes after some other contents is being added. All the time there is a scale-effect. Whenever I move the mouse over any of those children they zoom in and there the height & width of the parent container automatically resizes.
However I have a minimize button for that one along with a resize effect. I can resize the complete container to a minimize size (e.g. 40x40), but when I resize back with the same effect, the panel does not automatically resizes with added children anymore.
I did not set any special properties on the panel from the beginning, but some property must be different now. It is not "autoLayout" and also the "percentageWidth/Height" does not work properly as that command will cause the panel to stretch over the complete stage. Any suggestions here?Mmmh...that does not seem to solve the issue for me. Even when setting the width and height to NaN before the effect is played, it will still lead to a fixed height and width of the parent panel container. When I add new children the parent container is not properly resized, means that the chiildren just go beyond the parent container's border.
Setting these parameters after the effect is done leads to the following crash: ArgumentError: Error #2004: One of the parameters is invalid.
at flash.display::Graphics/drawRect()
at spark.accessibility::PanelAccImpl/eventHandler()[E:\dev\4.0.0\frameworks\projects\spark\s rc\spark\accessibility\PanelAccImpl.as:361]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]
at mx.core::UIComponent/dispatchResizeEvent()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9641]
at mx.core::UIComponent/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \core\UIComponent.as:7866]
at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.0.0\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:414]
at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:730]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Here is my code...anything wrong here.
private function recreateWindow(e:MouseEvent)//thrown once the user moves his mouse over the minimized panel
myResizeEffect.heightFrom = 40;
myResizeEffect.heightFrom = 40;
myResizeEffect.heightFrom = lastHeight;
myResizeEffect.heightFrom = lastWidth;
myResizeEffect.play();
myResizeEffect.addEventListener(EffectEvent.EFFECT_END,resetMinimizeValues);
private function resetMinimizeValues(event:EffectEvent):void
myResizeEffect.removeEventListener(EffectEvent.EFFECT_END,resetMinimizeValues);
//adding the old listeners before the panel was minimized
this.width = NaN;//crash
this.height = NaN;//crash
Any suggestions?
...and how can I remove the "Question answered"-tag...? -
JTable Horizontal Scroll WHEN NEEDED fix?
Me again....
JTable in a JScrollPane When the Jtable width exceeds the scrollpane I would like a horizontal scrollbar to appear. If the Jtable does not exceed the width Id like it to fill the ScrollPane.
If I use the AUTO_RESIZE_OFF I get a horizontal scrollbar all the time. I dont want this if possible.
I did try to overwrite getScrollableTracksViewportWidth() and getPreferredSize() as suggested by work around http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4127936
However this bug is not exactly what I am having trouble with.
Anyone know what I can do for this?
Thanks
B.You're welcome.
Autoscrolling means that you can middle click on a web page and then get a scroll icon to indicate that you can move the mouse up or down to scroll the page automatically. -
Spanning columns in a grid messes up column widths
Hi. I've been struggling with some layout issues when using
column width percentages with the Flex Grid control. It seems that
if I add a column that spans 2 or more columns, the column widths
of the entire grid are altered. The strange thing is that the
column widths are changed only if the text in the colspan column
exceeds the width of the text in cells above or below it. Please
see the code sample at the bottom of this message for a
demonstration (I can't seem to find a way to "attach code").
Does anyone have any ideas how to fix this?
Thanks!
Dustin
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="init()" layout="vertical">
<mx:Script>
<![CDATA[
import mx.containers.*;
import mx.controls.*;
import mx.core.*;
import flash.utils.Timer;
import flash.events.TimerEvent;
private var dynamicText:Text;
private var charCode:uint;
private var button:Button;
private function init():void
var panel:Panel = createPanel();
addChild(panel);
addText(panel);
addGrid(panel);
addButton(panel);
startTimer();
private function timerComplete(event:TimerEvent):void
button.enabled = true;
private function createPanel():Panel
var panel:Panel = new Panel();
panel.title = "ColSpan Spacing Problem";
panel.width = 500;
panel.height = 200;
panel.horizontalScrollPolicy = ScrollPolicy.OFF;
panel.layout = "vertical";
return panel;
private function addText(panel:Panel):void
var text:Text = new Text();
text.text = "First row contains 5 columns with no col spans.
Second row contains 4 columns with " +
"column 2 spanning columns 2 and 3. Notice how the column
widths are affected when the text " +
"in the colspan cell grows larger than the text in the cell
above it.";
text.percentWidth = 100;
panel.addChild(text);
private function addGrid(panel:Panel):void
var grid:Grid = new Grid();
grid.setStyle("horizontalGap", "0");
grid.setStyle("verticalGap", "0");
grid.percentWidth = 100;
panel.addChild(grid);
// FIRST ROW
var gridRow:GridRow = new GridRow();
gridRow.percentWidth = 100;
grid.addChild(gridRow);
var gridItem:GridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.percentWidth = 1;
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.percentWidth = 48;
var text:Text = new Text();
text.text = "No ColSpan Columns";
gridItem.addChild(text);
gridItem.colSpan = 1;
gridItem.clipContent = false;
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.percentWidth = 1;
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.percentWidth = 13;
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.percentWidth = 37;
gridRow.addChild(gridItem);
// SECOND ROW
gridRow = new GridRow();
gridRow.percentWidth = 100;
grid.addChild(gridRow);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.colSpan = 2;
dynamicText = new Text();
dynamicText.text = "A"; //IF THIS TEXT GROWS WIDER THAN TEXT
IN THE ROW ABOVE, SPACING IS THROWN OFF
gridItem.addChild(dynamicText);
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridRow.addChild(gridItem);
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridRow.addChild(gridItem);
private function addButton(panel:Panel):void
button = new Button();
button.label = "Start Over";
button.addEventListener(MouseEvent.CLICK, startOver);
panel.addChild(button);
private function startOver(event:MouseEvent):void
startTimer();
private function startTimer():void
dynamicText.text = "A";
charCode = 66;
button.enabled = false;
var myTimer:Timer = new Timer(250, 25);
myTimer.addEventListener(TimerEvent.TIMER, timerHandler);
myTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
timerComplete);
myTimer.start();
private function timerHandler(event:TimerEvent):void
dynamicText.text += String.fromCharCode(charCode);
charCode++;
]]>
</mx:Script>
</mx:Application>This seems to fix it.
gridItem = new GridItem();
gridItem.setStyle("borderStyle", "solid");
gridItem.colSpan = 2;
dynamicText = new Text();
dynamicText.percentWidth = 100;
dynamicText.text = "A";
gridItem.addChild(dynamicText);
gridRow.addChild(gridItem); -
Cell editor removed when table resized
I'm using Java 1.5.0_06 in my application. I have a JFrame which contains a JTable. I use FormLayout (which is like GridBagLayout). When the frame resizes, the table resizes too.
When I enter edit mode in a cell of the table and resize the frame (and the table), the cell exits edit mode. The editor of the cell is removed when the table is resized which causes the value that I had entered in the cell to be lost.
Is there a way to stop cell editing when the frame is resized instead of the cell just exiting edit mode.
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import com.jgoodies.forms.factories.FormFactory;
import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.FormLayout;
import com.jgoodies.forms.layout.RowSpec;
public class ResizableTableTest extends JFrame {
final JScrollPane _scrollPane;
public static void main(String[] args) {
ResizableTableTest frame = new ResizableTableTest();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.setSize(451, 340);
frame.setVisible(true);
public ResizableTableTest() {
super();
getContentPane().setLayout(new FormLayout(
new ColumnSpec[] {
new ColumnSpec("default:grow(1.0)"),
FormFactory.RELATED_GAP_COLSPEC,
FormFactory.DEFAULT_COLSPEC},
new RowSpec[] {
new RowSpec("default:grow(1.0)"),
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC}));
_scrollPane = new JScrollPane();
getContentPane().add(_scrollPane, new CellConstraints(1, 1, CellConstraints.FILL, CellConstraints.FILL));
addTableToScrollPane();
private void addTableToScrollPane() {
JTable table = new JTable();
DefaultTableModel model = (DefaultTableModel)table.getModel();
table.setRowSelectionAllowed(false);
table.setCellSelectionEnabled(true);
//Add some columns
model.addColumn("column A");
model.addColumn("column B");
model.addRow(new Object[]{"item1", "apple"});
model.addRow(new Object[]{"item2", "banana"});
model.addRow(new Object[]{"item3", "carrot"});
model.addRow(new Object[]{"item1", "grape"});
_scrollPane.setViewportView(table);
}thanks,I would assume that on the resize of the table the
editing cancelled event is being fired...
You could try overriding the method in the JTable and
when it gets fired, fire the editing stopped method
instead... not sure whether that will work thoughI tried that, but it didn't help. On searching for this problem, I saw a bug report on this very problem.
Here's info on a related bug in java:
Cell editing does not complete when JTable loses focus
Lost newly entered data in the cell when resizing column width
And here's an interesting article:
Why Editable Table Cells Are Evil
Message was edited by:
petes1234
Maybe you are looking for
-
Unit of Measurement in Material Master
Hello Experts... I have an intresting issue on Unit of Measurement. I would like to maintain alternative unit of measurement as per below.. 1 EA = 1 EA 1 ROLL = 5000 EA 1 CT = 150,000 EA However the field UMREZ length in the material master allows me
-
Declined call, does not appear as missed call in Notification center
When I receive a call in Lock screen in iOS7, with two quick clicks of the Sleep button declines the call, but does not appear as missed call in Notification center. It's a "new feature" or it's a bug? I want it back like in iOS 5 and 6.
-
What can i do if the code of itunes card is damage
when my son scratch the card to view the code he damage the first leters of the code.. is possible to obtain the code using the card number Thanks
-
How to hide the parameters passed into servlet or make it read only
Hi, I am calling a servlet to downlaod files, using <a href="../servlet/DownloadFile?directory=<%=attachmentPath%>&fileName=<%=fileName%>">But this will display all the paramters passed , of course as I am using hyper link. However I can not use <for
-
Photoshop Elements 7 and tablet
Okay so I have a new computer that is only a month old and runs on windows 7 and I've had my wacom bamboo pen and touch tablet with the photoshop elements 7 that came with it for over 2 years. On vista I never had a problem with them working together