View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001757 | JEDI VCL | 00 JVCL Components | public | 2004-05-12 10:00 | 2004-08-03 07:32 |
| Reporter | AlexeiR | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001757: JvInterpreter: cannot assign set constant to a set variable | ||||
| Description | I have posted this message to the forum, but receive no answer. So I decided to post it here. My code is (interpreter script language): ... Label1 := TLabel.Create(SomeForm); ... Label1.Font.Style := [fsBold]; ^ here I receive exception 'integer expression expected' from interpreter. Workaround is to assign font style from other component: Label1.Font.Style := Panel1.Font.Style; May be I just don't know some rules of interpreter... Please help! | ||||
| Tags | No tags attached. | ||||
|
|
Sorry, I meant 'cannot assign set constant to a set variable'. I'm slightly disappointed: is there people using JvInterpreter? There is no answer to my report... |
|
|
> is there people using JvInterpreter? It is impossible to know every component in the JVCL, even for the developers. I am sure that someone is using JvInterpreter but that/those people might not visit the bug tracker or the newsgroups that often. YOu will just have to have some patience. Here's an idea: try using a local variable that you set and then assign that variable to the Font.Styl property, i.e: var FontStyle:TFontStyles; begin FontStyle := [fsBold]; Label1.Font.Style := FontStyle; end; You should also try to debug the code by setting a breakpoint and trace into the code where you set the font style |
|
|
This bug has not had any activity for more than a month, it is therefore considered closed. To the original poster: If you think the issue is still there, even after having tested with the JVCL3, please create a new bug report. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-05-12 10:00 | AlexeiR | New Issue | |
| 2004-05-31 04:19 | AlexeiR | Note Added: 0004415 | |
| 2004-06-01 00:33 |
|
Note Added: 0004421 | |
| 2004-06-01 00:46 |
|
Summary | JvInterpreter: cannot assign set constanr to a set variable => JvInterpreter: cannot assign set constant to a set variable |
| 2004-06-03 01:15 |
|
Status | new => feedback |
| 2004-08-03 07:32 | obones | Status | feedback => closed |
| 2004-08-03 07:32 | obones | Note Added: 0004892 |