| Sponsored Ads |
|
|||||||
| The old Bugreport Forum Post bugs you found here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Portal Member
Join Date: Mar 2006
Location: The Netherlands
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
How to reproduce: The values of linked page are 0 and 0. Then you change the minimum into 23, the max will change to 23 as well. Then you change the min to 18 and you'll leave the page (to another station eg) an errors pops up telling zero is not valid (the value should lie between minimum and maximum).
This is the error in Dutch: System.ArgumentOutOfRangeException: De waarde van 0 is niet geldig voor Value. Value moet tussen 'Minimum' en 'Maximum' liggen. Parameternaam: Value bij System.Windows.Forms.NumericUpDown.set_Value(Decim al value) bij WebEPG_conf.fChannels.DoEvent(Object source, EventArgs e) This is the solution: In the beginning of "private void DoEvent(Object source, EventArgs e)" the minimum is set: nEnd.Minimum = nStart.Value; In the same event method there is the folowing part: Code:
if (gInfo.Linked)
{
cbLinked.Checked = info.Linked;
nStart.ReadOnly = !cbLinked.Checked;
nEnd.ReadOnly = !cbLinked.Checked;
nStart.Value = info.linkStart;
nEnd.Value = info.linkEnd;
}
Code:
if (gInfo.Linked)
{
cbLinked.Checked = info.Linked;
nStart.ReadOnly = !cbLinked.Checked;
nEnd.ReadOnly = !cbLinked.Checked;
nStart.Value = info.linkStart;
if (info.linkEnd < nEnd.Minimum)
{ nEnd.Value = nEnd.Minimum; }
else
{ nEnd.Value = info.linkEnd; }
}
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any idea why WebEPG is putting the wrong date in tvguide.xml | koach | MediaPortal 1 Talk | 3 | 2006-11-06 23:36 |
| Gaps in displayed EPG from WebEPG and OzTiVo (Australia) | Taipan | fixed 0.2.0.0 bugs | 13 | 2006-10-19 05:48 |
| WebEPG crash with 0.2+svn | tomtom21000 | WebEPG | 14 | 2006-07-20 18:10 |
| A problem creating spanish TDT grabber for WEBEPG | pegial | WebEPG | 7 | 2006-06-04 12:14 |
| Problems with Webepg | The_Stig | WebEPG | 23 | 2006-01-17 20:23 |